Creates a CustomElement from an HTML-Template-Tag

Hierarchy (view full)

Constructors

Properties

tag: string

Accessors

  • get key(): string
  • Return the key (name) of the attribute this element represents

    Returns string

Methods

  • Browses through the templates in the current document and registers the one defining the given tagname. To be called from a script tag implemented with the template in HTML.

    Parameters

    • _tagName: string

    Returns void