Skip to content

AngularSelectorExtractor

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/detectors/angular-selector-extractor.ts

Angular Selector Extractor

Methods

MethodSignatureReturns
extractFromTemplateextractFromTemplate(template: string)ExtractedSelectors

Where it refuses work

  • AngularSelectorExtractor stops the work with an early return when !template || template.trim().length === 0.
  • AngularSelectorExtractor stops the work with an early return when testId.
  • AngularSelectorExtractor stops the work with an early return when id.
  • AngularSelectorExtractor stops the work with an early return when formControlName.
  • AngularSelectorExtractor stops the work with an early return when firstClass.
  • AngularSelectorExtractor stops the work with an early return when match.

Was this page helpful?

Download as PDF