schema-components - v3.7.0
    Preparing search index...

    Interface HtmlElement

    An HTML element node. Void elements (input, br, etc.) have no children in the serialiser regardless of what's passed.

    interface HtmlElement {
        tag: string;
        attributes: Readonly<HtmlAttributes>;
        children: readonly (string | HtmlElement | HtmlText | HtmlRaw)[];
    }
    Index

    Properties

    tag: string
    attributes: Readonly<HtmlAttributes>
    children: readonly (string | HtmlElement | HtmlText | HtmlRaw)[]