Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    A custom HTMLElement that is used to wrap enriched content that requires additional interactivity.

    Hierarchy (View Summary)

    Index

    Properties

    observedAttributes: string[] = ...

    Attributes requiring change notifications

    tagName: string = "enriched-content"

    The HTML tag named used by this element.

    Methods

    • Fire a callback on change to an observed attribute.

      Parameters

      • attrName: string

        The name of the attribute

      • oldValue: string | null

        The old value: null indicates the attribute was not present.

      • newValue: string | null

        The new value: null indicates the attribute is removed.

      Returns void

    • Invoke the enricher onRender callback when it is added to the DOM.

      Returns void

    • Called when the element is first removed from a Document. In cases where it is then moved into another Document, this callback is invoked before adoptedCallback, so we must also re-apply the prototype here so that subclasses have any disconnectedCallback overrides invoked appropriately.

      Returns void