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

Hierarchy

  • HTMLElement
    • HTMLEnrichedContentElement

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: null | string

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

    • newValue: null | string

      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