Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RxDocument

Hierarchy

Index

Constructors

constructor

Properties

attributes

attributes: {}

Type declaration

  • [key: string]: string | null

childNodes

childNodes: RxNode[]

classList

classList: RxClassList

nodeName

nodeName: string

nodeType

nodeType: RxNodeType

nodeValue

nodeValue: string | null = null

parentNode

parentNode: RxElement | null

style

style: RxStyle

Accessors

URL

  • get URL(): string

body

childElementCount

  • get childElementCount(): number

children

doctype

documentElement

firstChild

  • get firstChild(): RxNode | null

firstElementChild

head

hidden

  • get hidden(): true

innerHTML

  • get innerHTML(): string
  • set innerHTML(html: string): void

innerText

  • get innerText(): string | null
  • set innerText(nodeValue: string | null): void

lastChild

  • get lastChild(): RxNode | null

lastElementChild

location

nextSibling

  • get nextSibling(): RxNode | null

outerHTML

  • get outerHTML(): string | null

previousSibling

  • get previousSibling(): RxNode | null

textContent

  • get textContent(): string | null
  • set textContent(nodeValue: string | null): void

title

  • get title(): string | null
  • set title(nodeValue: string | null): void

visibilityState

  • get visibilityState(): "prerender"

wholeText

  • get wholeText(): undefined | null | string

Methods

addListener

  • addListener(eventName: string, handler: (e: any) => {}): void

append

  • append(...nodesOrDOMStrings: (RxNode | string)[]): void

appendChild

  • appendChild<T>(newChild: T): T

cloneNode

  • cloneNode(deep?: boolean): RxNode

createAttribute

  • createAttribute(): void

createAttributeNS

  • createAttributeNS(): void

createCDATASection

  • createCDATASection(): void

createComment

  • createComment(nodeValue: string): RxComment

createDocumentFragment

createElement

createElementNS

  • createElementNS(nodeName: string): RxElement

createEvent

  • createEvent(): void

createNodeIterator

  • createNodeIterator(): void

createProcessingInstruction

createRange

  • createRange(): void

createTextNode

  • createTextNode(nodeValue: string): RxText

createTouchList

  • createTouchList(): void

createTreeWalker

  • createTreeWalker(): void

getAttribute

  • getAttribute(attribute: string): string | null

hasAttribute

  • hasAttribute(attribute: string): boolean

insertBefore

prepend

  • prepend(...nodesOrDOMStrings: (RxNode | string)[]): void

querySelector

  • querySelector(selector: string): RxNode | null

querySelectorAll

  • querySelectorAll(selector: string): RxNode[] | null

removeAttribute

  • removeAttribute(attribute: string): void

removeChild

removeListener

  • removeListener(eventName: string, handler: (e: any) => {}): void

replaceChild

replaceChildren

  • replaceChildren(...nodesOrDOMStrings: (RxNode | string)[]): void

serialize

  • serialize(): string

serializeAttributes

  • serializeAttributes(): string

setAttribute

  • setAttribute(attribute: string, value: any): void