Class DomBuilder

Constructors

Properties

addClass: ((this, className) => ExtendedHTMLElement) = ...

Type declaration

clearChildren: ((this, removePersistent) => ExtendedHTMLElement) = ...

Type declaration

extendDomFunctionality: ((this, domElement) => ExtendedHTMLElement) = ...

Type declaration

hasClass: ((this, className) => boolean) = ...

Type declaration

insertChild: ((this, position, child) => ExtendedHTMLElement) = ...

Type declaration

portals: Record<string, ExtendedHTMLElement> = {}
removeClass: ((this, className) => ExtendedHTMLElement) = ...

Type declaration

resizeObserver: ResizeObserver
rootBox: DOMRect
rootFocus: boolean
toggleClass: ((this, className) => ExtendedHTMLElement) = ...

Type declaration

update: ((domToUpdate, domBuilderObject) => ExtendedHTMLElement) = ...

Type declaration

instance: undefined | DomBuilder

Methods

  • Parameters

    • Optional rootSelector: string

    Returns void