Angular Modernizer
    Preparing search index...

    Represents a single template usage (element, directive, pipe, etc.).

    interface TemplateUsage {
        attributes?: Record<string, string>;
        column?: number;
        line?: number;
        metadata?: Record<string, unknown>;
        name: string;
        raw?: string;
        type:
            | "pipe"
            | "element"
            | "directive"
            | "component"
            | "structural-directive"
            | "control-flow";
    }
    Index

    Properties

    attributes?: Record<string, string>

    Attributes/inputs on this element.

    column?: number

    Position in template (column number).

    line?: number

    Position in template (line number).

    metadata?: Record<string, unknown>

    Additional metadata.

    name: string

    Name/selector of the element.

    raw?: string

    Raw HTML/template string of this usage.

    type:
        | "pipe"
        | "element"
        | "directive"
        | "component"
        | "structural-directive"
        | "control-flow"

    Type of usage.