package js.html
extends Node › EventTarget
extended by ShadowRoot
Available on jsThe
DocumentFragmentinterface represents a minimal document object that has no parent. It is used as a light-weight version ofDocumentto store well-formed or potentially non-well-formed fragments of XML.Documentation DocumentFragment by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new ()Throws:
null |
DOMError |
|---|
read only childElementCount:Intread only children:HTMLCollectionread only firstElementChild:Elementread only lastElementChild:ElementgetElementById (elementId:String):ElementReturns the first Element node within the DocumentFragment`, in document order, that matches the specified ID.
querySelector (selectors:String):ElementThrows:
null |
DOMError |
|---|
querySelectorAll (selectors:String):NodeListThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DocumentFragment.html