window.DocumentFragment
See: Web APIs - DocumentFragment
childElementCount : number
Read only A number representing the number of children of the element.
See: DocumentFragment - childElementCount
querySelector(selector)
Returns the first Element node within the DocumentFragment matching the selector string
Returns: Element
See: DocumentFragment - querySelector
Param | Type | Description |
---|---|---|
selector | string | A string containing one or more CSS selectors separated by commas |
querySelectorAll(selector)
Returns the list of nodes within the DocumentFragment matcthing the selectors
Returns: NodeList
See: DocumentFragment - querySelectorAll
Param | Type | Description |
---|---|---|
selector | string | A string containing one or more CSS selectors separated by commas |
append(...args)
inserts a set of Node objects or string objects after the last child of the document fragment
See: DocumentFragment - append
Param | Type | Description |
---|---|---|
...args | any | A set of Node or string objects to insert. |