Interface CharacterData

Hierarchy

Index

Properties

Methods

Properties

public ATTRIBUTE_NODE: number

public CDATA_SECTION_NODE: number

public COMMENT_NODE: number

public DOCUMENT_FRAGMENT_NODE: number

public DOCUMENT_NODE: number

public DOCUMENT_TYPE_NODE: number

public ELEMENT_NODE: number

public ENTITY_NODE: number

public ENTITY_REFERENCE_NODE: number

public NOTATION_NODE: number

public PROCESSING_INSTRUCTION_NODE: number

public TEXT_NODE: number

public attributes: NamedNodeMap

public bubbleParent: boolean

public childNodes: NodeList

public data: string

public firstChild: Node

public lastChild: Node

public length: number

public localName: string

public namespaceURI: string

public nextSibling: Node

public nodeName: string

public nodeType: number

public nodeValue: string

public ownerDocument: Document

public parentNode: Node

public prefix: string

public previousSibling: Node

public text: string

public textContent: string

Methods

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public appendChild(newChild: Node): Node

Parameters

Returns

Node

public appendData(arg: string)

Parameters

  • arg: string

public applyProperties(props: Dictionary)

Parameters

public cloneNode(deep: boolean): Node

Parameters

  • deep: boolean

Returns

Node

public deleteData(offset: number, count: number)

Parameters

  • offset: number
  • count: number

public fireEvent(name: string, event: Dictionary)

Parameters

public getAttributes(): NamedNodeMap

Returns

NamedNodeMap

public getBubbleParent(): boolean

Returns

boolean

public getChildNodes(): NodeList

Returns

NodeList

public getData(): string

Returns

string

public getFirstChild(): Node

Returns

Node

public getLastChild(): Node

Returns

Node

public getLength(): number

Returns

number

public getLocalName(): string

Returns

string

public getNamespaceURI(): string

Returns

string

public getNextSibling(): Node

Returns

Node

public getNodeName(): string

Returns

string

public getNodeType(): number

Returns

number

public getNodeValue(): string

Returns

string

public getOwnerDocument(): Document

Returns

Document

public getParentNode(): Node

Returns

Node

public getPrefix(): string

Returns

string

public getPreviousSibling(): Node

Returns

Node

public getText(): string

Returns

string

public getTextContent(): string

Returns

string

public hasAttributes(): boolean

Returns

boolean

public hasChildNodes(): boolean

Returns

boolean

public insertBefore(newChild: Node, refChild: Node): Node

Parameters

Returns

Node

public insertData(offset: number, arg: string)

Parameters

  • offset: number
  • arg: string

public isSupported(feature: string, version: string): boolean

Parameters

  • feature: string
  • version: string

Returns

boolean

public normalize()

public removeChild(oldChild: Node): Node

Parameters

Returns

Node

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public replaceChild(newChild: Node, oldChild: Node): Node

Parameters

Returns

Node

public replaceData(offset: number, count: number, arg: string)

Parameters

  • offset: number
  • count: number
  • arg: string

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setData(data: string)

Parameters

  • data: string

public setLocalName(localName: string)

Parameters

  • localName: string

public setNodeValue(nodeValue: string)

Parameters

  • nodeValue: string

public setPrefix(prefix: string)

Parameters

  • prefix: string

public substringData(offset: number, count: number): string

Parameters

  • offset: number
  • count: number

Returns

string