@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    A block node. All template constructs, including placeholders, use this single representation.

    interface TemplateBlockNode {
        attributes: Readonly<Record<string, string>>;
        children: readonly TemplateNode[];
        kind: "block";
        name: string;
        selfClosing: boolean;
    }
    Index

    Properties

    attributes: Readonly<Record<string, string>>

    XML attributes keyed by attribute name.

    children: readonly TemplateNode[]

    Child nodes for container blocks.

    kind: "block"

    Node discriminator.

    name: string

    XML tag name.

    selfClosing: boolean

    Whether the block was parsed or created as self-closing.