@haiix/tcomponent
    Preparing search index...

    Interface TNode

    Represents an Abstract Syntax Tree (AST) node of a parsed template.

    interface TNode {
        a: Record<string, string>;
        c: (string | TNode)[];
        t: string;
    }
    Index

    Properties

    a c t

    Properties

    a: Record<string, string>

    A dictionary of the element's attributes.

    c: (string | TNode)[]

    An array of child nodes, which can be either TNode objects or plain text strings.

    t: string

    The tag name of the element (converted to lowercase).