Angular Modernizer
    Preparing search index...

    Extracts all usages from Angular templates without filtering or interpretation. Plugins decide which of the collected elements matter.

    Index

    Constructors

    Methods

    • Analyze a template string and extract all usages.

      Parameters

      • template: string

        The template string to analyze

      Returns TemplateUsage[]

      Array of template usages

      Philosophy: "Collect Everything, Filter Later"

      • Extracts ALL elements, attributes, pipes, directives
      • No filtering, no business logic
      • Plugins decide what's important using the SymbolMapper
    • Extract inline template from component decorator.

      Parameters

      • decoratorText: string

        The @Component decorator text

      Returns string | undefined

      The template string or undefined

    • Check if a template uses a specific selector.

      Parameters

      • template: string

        The template string

      • selector: string

        The selector to search for

      Returns boolean

      True if selector is used