CharacterData ⇐ Node

Kind: global class Extends: Node Access: public See: https://developer.mozilla.org/en-US/docs/Web/API/CharacterData

new CharacterData(document, textContent)

Creates an instance of CharacterData.

Param Type
document *
textContent *

characterData.data : string

Kind: instance property of CharacterData

characterData.textContent : string

Kind: instance property of CharacterData Overrides: textContent

characterData.nodeValue : string

Kind: instance property of CharacterData

characterData.length : number

Kind: instance property of CharacterData Read only: true

characterData.contentEditable

Kind: instance property of CharacterData Read only: true

characterData.isConnected : boolean

Kind: instance property of CharacterData Read only: true

characterData.parentNode : Node

Kind: instance property of CharacterData Read only: true

characterData.firstChild : Node

Kind: instance property of CharacterData Read only: true

characterData.lastChild : Node

Kind: instance property of CharacterData Read only: true

characterData.previousSibling : Node

Kind: instance property of CharacterData Read only: true

characterData.nextSibling : Node

Kind: instance property of CharacterData Read only: true

characterData.firstElementChild : Node

Kind: instance property of CharacterData Read only: true

characterData.lastElementChild : Node

Kind: instance property of CharacterData Read only: true

characterData.previousElementSibling : Node

Kind: instance property of CharacterData Read only: true

characterData.nextElementSibling : Node

Kind: instance property of CharacterData Read only: true

characterData.childNodes : NodeList

Kind: instance property of CharacterData Read only: true

characterData.ownerDocument

Kind: instance property of CharacterData Read only: true

characterData.attributes

Kind: instance property of CharacterData Read only: true

characterData.offsetParent

Kind: instance property of CharacterData Read only: true

characterData.substringData(offset, count) ⇒ string

Kind: instance method of CharacterData

Param Type
offset *
count *

characterData.appendData(arg)

Kind: instance method of CharacterData

Param Type
arg string

characterData.insertData(offset, arg)

Kind: instance method of CharacterData

Param Type
offset number
arg string

characterData.deleteData(offset, count)

Kind: instance method of CharacterData

Param Type
offset number
count number

characterData.replaceData(offset, count, arg)

Kind: instance method of CharacterData

Param Type
offset number
count number
arg string

characterData.hasChildNodes() ⇒ boolean

Kind: instance method of CharacterData

characterData.cloneNode(deep) ⇒ Node

Kind: instance method of CharacterData

Param Type
deep boolean

characterData.appendChild(child) ⇒ Node

Kind: instance method of CharacterData

Param Type
child Node

characterData.insertBefore(child, before) ⇒ Node

Kind: instance method of CharacterData

Param Type
child Node
before Node

characterData.replaceChild(newChild, oldChild) ⇒ Node

Kind: instance method of CharacterData

Param Type
newChild Node
oldChild Node

characterData.removeChild(child) ⇒ Node

Kind: instance method of CharacterData

Param Type
child Node

characterData.remove()

Kind: instance method of CharacterData

characterData.before(...nodes)

Kind: instance method of CharacterData

Param Type
...nodes Array.<Node>

characterData.after(...nodes)

Kind: instance method of CharacterData

Param Type
...nodes Array.<Node>

characterData.replaceWith(...nodes)

Kind: instance method of CharacterData

Param Type
...nodes Array.<Node>

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

Kind: instance method of CharacterData

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

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

Kind: instance method of CharacterData

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

characterData.dispatchEvent(event)

Kind: instance method of CharacterData

Param Type
event *

results matching ""

    No results matching ""