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

    Type Alias HtmlNode

    HtmlNode: HtmlElement | HtmlText | HtmlRaw | string | undefined | null | false

    Any node that can appear in the HTML tree.

    • string is treated as a text node (will be escaped by the serialiser)
    • HtmlElement and HtmlText are structured nodes
    • undefined and null are silently dropped (useful for conditional children)
    • false is silently dropped (useful for {condition && h(...)})