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

Hierarchy

  • HTMLElement
    • HTMLDocumentEmbedElement

Properties

Methods

Properties

tagName: string = "document-embed"

The HTML tag named used by this element.

Methods

  • Invoke the Document#onEmbed callback when it is added to the DOM.

    Returns void