Skip to content

extractUIInteractionsFromFile

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/utils/ui-interaction-detector.ts

Extract UI interactions from Angular component template file

Reads the .html template file associated with an Angular component and extracts all interactive elements.

Signature

ts
function extractUIInteractionsFromFile(templatePath: string, stateMachines: StateMachine[], componentName: string): UIInteraction[]

Parameters

NameType
templatePathstring
stateMachinesStateMachine[]
componentNamestring

Returns: UIInteraction[]

Was this page helpful?

Download as PDF