Angular Modernizer
    Preparing search index...

    Interface ComponentTemplateSource

    A component template together with the information needed to report on it.

    interface ComponentTemplateSource {
        content: string;
        file: string;
        inline: boolean;
        locate: (offset: number) => TemplatePosition;
        owner: ClassDeclaration;
    }
    Index

    Properties

    content: string

    Raw template text. For inline templates this is the literal body without delimiters.

    file: string

    File the template text lives in: the .ts file for inline, the .html file otherwise.

    inline: boolean

    true for template: literals, false for templateUrl: files.

    locate: (offset: number) => TemplatePosition

    Maps an offset inside content to a position in file.

    owner: ClassDeclaration

    Class that declares the template.