DocumentFragment

Extends: Node

See: https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment

documentFragment.contentEditable

Read only

documentFragment.isConnected : boolean

Read only

documentFragment.parentNode : Node

Read only

documentFragment.parentElement : Element

Read only

documentFragment.firstChild : Node

Read only

documentFragment.lastChild : Node

Read only

documentFragment.previousSibling : Node

Read only

documentFragment.nextSibling : Node

Read only

documentFragment.firstElementChild : Node

Read only

documentFragment.lastElementChild : Node

Read only

documentFragment.previousElementSibling : Node

Read only

documentFragment.nextElementSibling : Node

Read only

documentFragment.textContent : string

documentFragment.childNodes : NodeList

Read only

documentFragment.children : HTMLCollection

Read only

documentFragment.ownerDocument

Read only

documentFragment.attributes

Read only

documentFragment.hasChildNodes()

documentFragment.cloneNode(deep)

Param Type
deep boolean

documentFragment.appendChild(child)

Param Type
child Node

documentFragment.insertBefore(child, before)

Param Type
child Node
before Node

documentFragment.replaceChild(newChild, oldChild)

Param Type
newChild Node
oldChild Node

documentFragment.removeChild(child)

Param Type
child Node

documentFragment.remove()

documentFragment.before(...nodes)

Param Type
...nodes Array.<Node>

documentFragment.after(...nodes)

Param Type
...nodes Array.<Node>

documentFragment.replaceWith(...nodes)

Param Type
...nodes Array.<Node>

documentFragment.contains(node)

Param Type
node Node

documentFragment.addEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

documentFragment.removeEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

documentFragment.dispatchEvent(event)

Param Type
event *

results matching ""

    No results matching ""