Project whose component templates are scanned.
Project component decorators.
Finds template usages of the declarations named symbol.
Searched name (class, member, or pipe class name).
Declaration nodes named symbol (as found by UsageFinder).
Template usages, unsorted.
Finds usages of a symbol inside Angular component templates.
Remarks
Project-level companion to scanTemplate: resolves what a symbol means in Angular templates (component/directive selector, pipe name, class member, input/output binding) and scans every component template (external
templateUrlfiles and inlinetemplate:literals).Member hits are
verifiedwhen they read the member from the component context (foo,this.foo) inside the template of the declaring class or one of its subclasses. Same-name reads elsewhere (other components, orx.foo) are reported astemplate-unverified: they may or may not refer to the searched member.Example