Implements

Constructors

Properties

containingSlot: undefined | null | glassEasel.Element
ownerShadowRoot: ShadowRoot
parentIndex: number
parentNode: null | glassEasel.Element
slotIndex: undefined | number
slotNodes: undefined | Node[]
isTextNode: ((e) => e is TextNode)

Type declaration

Accessors

  • get textContent(): string
  • Returns string

  • set textContent(text): void
  • Parameters

    • text: string

    Returns void

Methods

  • Cast a node to an element (native node, virtual node, or component node)

    Returns null if the element is not a text node.

    Returns null

  • Cast an element to a general component

    Returns null if the element is not a component

    Returns null

  • Cast an element to the instance of the specified component

    Returns null if the element is not the instance of the specified component.

    Returns null

  • Cast an element to a native node

    Returns null if the element is not a native node.

    Returns null

  • Cast an element to a shadow root

    Returns null if the element is not a shadow root.

    Returns null

  • Cast a node to a text node

    Returns null if the element is not a text node.

    Returns TextNode

  • Cast an element to a virtual node

    Returns null if the element is not a virtual node.

    Returns null

  • Cancel the destroy scheduling of the backend element

    Returns void

    Deprecated

    Use cancelDestroyBackendElementOnRemoval instead.

  • Cancel the destroy scheduling of the backend element

    Returns void

  • Destroy the backend element

    Returns void

  • Destroy the backend element when removed from any parent element

    Returns void

    Deprecated

    Use destroyBackendElementOnRemoval instead.

  • Destroy the backend element when removed from any parent element

    Returns void

  • Get composed parent (including virtual nodes)

    Returns null | glassEasel.Element