Edit in GitHubLog an issue

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

ParamTypeDescription
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

ParamTypeDescription
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

ParamTypeDescription
...args
any
A set of Node or string objects to insert.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.