Skip to content

extractFormsFromTemplate

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/utils/form-validation-extractor.ts

Extract forms from template HTML (inputs, DevExtreme widgets, validation attributes).

Signature

ts
function extractFormsFromTemplate(templateContent: string, filePath: string, componentName: string, framework: Framework): FormDefinition[]

Parameters

NameType
templateContentstring
filePathstring
componentNamestring
frameworkFramework

Returns: FormDefinition[]

Was this page helpful?

Download as PDF