mimekit-ts - v1.0.0
    Preparing search index...

    Class HtmlTagToken

    An HTML tag token.

    Hierarchy (View Summary)

    Index
    • Creates a new HTML start tag token.

      Parameters

      • name: string

        The tag name.

      • attributes: Iterable<HtmlAttribute>

        The tag attributes.

      • isEmptyElement: boolean

        true if the tag is an empty element; otherwise, false.

      Returns HtmlTagToken

      name or attributes is null or undefined.

    • Creates a new HTML tag token.

      Parameters

      • name: string

        The tag name.

      • isEndTag: boolean

        true if the tag is an end tag; otherwise, false.

      Returns HtmlTagToken

      name is null or undefined.

    The kind of HTML token that this object represents.

    The tag attributes.

    isEmptyElement: boolean

    Whether this tag is an empty element tag.

    isEndTag: boolean

    Whether this tag is an end tag.

    name: string

    The tag name.