Interface Document

Hierarchy

  • Node
    • NodeSelector
      • MSEventAttachmentTarget
        • DocumentEvent
          • MSResourceMetadata
            • MSNodeExtensions
              • MSDocumentExtensions
                • GlobalEventHandlers
                  • Document
                    • XMLDocument
                    • HTMLDocument

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_POSITION_CONTAINED_BY: number

public DOCUMENT_POSITION_CONTAINS: number

public DOCUMENT_POSITION_DISCONNECTED: number

public DOCUMENT_POSITION_FOLLOWING: number

public DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number

public DOCUMENT_POSITION_PRECEDING: 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 childNodes: NodeList

public fileCreatedDate: string

public fileModifiedDate: string

public fileSize: string

public fileUpdatedDate: string

public firstChild: Node

public lastChild: Node

public localName: string

public mimeType: string

public nameProp: string

public namespaceURI: string

public nextSibling: Node

public nodeName: string

public nodeType: number

public nodeValue: string

public onpointercancel: (ev: PointerEvent) => any

public onpointerdown: (ev: PointerEvent) => any

public onpointerenter: (ev: PointerEvent) => any

public onpointerleave: (ev: PointerEvent) => any

public onpointermove: (ev: PointerEvent) => any

public onpointerout: (ev: PointerEvent) => any

public onpointerover: (ev: PointerEvent) => any

public onpointerup: (ev: PointerEvent) => any

public ownerDocument: Document

public parentNode: Node

public prefix: string

public previousSibling: Node

public protocol: string

public textContent: string

Methods

public addEventListener(type: ""online"", connectionStateCallback: () => any, useCapture?: boolean)

Parameters

  • type: ""online""
  • connectionStateCallback: () => any
  • useCapture?: boolean optional

public addEventListener(type: ""offline"", connectionStateCallback: () => any, useCapture?: boolean)

Parameters

  • type: ""offline""
  • connectionStateCallback: () => any
  • useCapture?: boolean optional

public appendChild(newChild: Node): Node

Parameters

  • newChild: Node

Returns

Node

public attachEvent(event: string, listener: EventListener): boolean

Parameters

  • event: string
  • listener: EventListener

Returns

boolean

public captureEvents()

public cloneNode(deep?: boolean): Node

Parameters

  • deep?: boolean optional

Returns

Node

public compareDocumentPosition(other: Node): number

Parameters

  • other: Node

Returns

number

public createEvent(eventInterface: string): Event

Parameters

  • eventInterface: string

Returns

Event

public detachEvent(event: string, listener: EventListener)

Parameters

  • event: string
  • listener: EventListener

public dispatchEvent(evt: Event): boolean

Parameters

  • evt: Event

Returns

boolean

public hasAttributes(): boolean

Returns

boolean

public hasChildNodes(): boolean

Returns

boolean

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

Parameters

  • newChild: Node
  • refChild?: Node optional

Returns

Node

public isDefaultNamespace(namespaceURI: string): boolean

Parameters

  • namespaceURI: string

Returns

boolean

public isEqualNode(arg: Node): boolean

Parameters

  • arg: Node

Returns

boolean

public isSameNode(other: Node): boolean

Parameters

  • other: Node

Returns

boolean

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

Parameters

  • feature: string
  • version: string

Returns

boolean

public lookupNamespaceURI(prefix: string): string

Parameters

  • prefix: string

Returns

string

public lookupPrefix(namespaceURI: string): string

Parameters

  • namespaceURI: string

Returns

string

public normalize()

public querySelector(selectors: string): Element

Parameters

  • selectors: string

Returns

Element

public querySelectorAll(selectors: string): NodeList

Parameters

  • selectors: string

Returns

NodeList

public releaseEvents()

public removeChild(oldChild: Node): Node

Parameters

  • oldChild: Node

Returns

Node

public removeEventListener(type: string, listener: EventListener, useCapture?: boolean)

Parameters

  • type: string
  • listener: EventListener
  • useCapture?: boolean optional

public removeNode(deep?: boolean): Node

Parameters

  • deep?: boolean optional

Returns

Node

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

Parameters

  • newChild: Node
  • oldChild: Node

Returns

Node

public replaceNode(replacement: Node): Node

Parameters

  • replacement: Node

Returns

Node

public swapNode(otherNode: Node): Node

Parameters

  • otherNode: Node

Returns

Node