DocumentFragment

DocumentFragment

package js-html

extends NodeEventTarget

extended by ShadowRoot

Available on js

The DocumentFragment interface represents a minimal document object that has no parent. It is used as a light-weight version of Document 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:

Constructor

new ()

Throws:

null DOMError

Variables

read only childElementCount:Int

read only children:HTMLCollection

read only firstElementChild:Element

read only lastElementChild:Element

Methods

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–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/DocumentFragment.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部