Interface DocumentType

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 entities: NamedNodeMap

public firstChild: Node

public internalSubset: string

public lastChild: Node

public localName: string

public name: string

public namespaceURI: string

public nextSibling: Node

public nodeName: string

public nodeType: number

public nodeValue: string

public notations: NamedNodeMap

public ownerDocument: Document

public parentNode: Node

public prefix: string

public previousSibling: Node

public publicId: string

public systemId: string

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 applyProperties(props: Dictionary)

Parameters

public cloneNode(deep: boolean): Node

Parameters

  • deep: boolean

Returns

Node

public fireEvent(name: string, event: Dictionary)

Parameters

public getAttributes(): NamedNodeMap

Returns

NamedNodeMap

public getBubbleParent(): boolean

Returns

boolean

public getChildNodes(): NodeList

Returns

NodeList

public getEntities(): NamedNodeMap

Returns

NamedNodeMap

public getFirstChild(): Node

Returns

Node

public getInternalSubset(): string

Returns

string

public getLastChild(): Node

Returns

Node

public getLocalName(): string

Returns

string

public getName(): 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 getNotations(): NamedNodeMap

Returns

NamedNodeMap

public getOwnerDocument(): Document

Returns

Document

public getParentNode(): Node

Returns

Node

public getPrefix(): string

Returns

string

public getPreviousSibling(): Node

Returns

Node

public getPublicId(): string

Returns

string

public getSystemId(): string

Returns

string

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 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 setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setLocalName(localName: string)

Parameters

  • localName: string

public setNodeValue(nodeValue: string)

Parameters

  • nodeValue: string

public setPrefix(prefix: string)

Parameters

  • prefix: string