Kind: Function
Source: atloria-monorepo/libs/parser-core/src/utils/semantic-detector.ts
Detect modal/dialog trigger methods
Finds methods that open modals/dialogs based on:
- Method names ending with "Prepare"
- Calls to openPopup, showDialog, openModal
Signature
tsfunction detectModalTriggers(code: string): string[]
Parameters
| Name | Type |
|---|---|
code | string |
Returns: string[]
Was this page helpful?