package js.html
extends Node › EventTarget
extended by ShadowRoot
Available on jsThe
DocumentFragment
interface represents a minimal document object that has no parent. It is used as a light-weight version ofDocument
to 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:Int
read only children:HTMLCollection
read only firstElementChild:Element
read only lastElementChild:Element
getElementById (elementId:String):Element
Returns the first Element
node within the DocumentFragment`, in document order, that matches the specified ID.
querySelector (selectors:String):Element
Throws:
null |
DOMError |
---|
querySelectorAll (selectors:String):NodeList
Throws:
null |
DOMError |
---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DocumentFragment.html