FormPages
API / @publicodes/forms / FormPages
type FormPages<RuleName> = object[];
Defined in: formBuilder.ts:77
Represents all pages in a multi-page form. It is the output of PageBuilder.
Type Parameters
Type Parameter | Description |
---|---|
RuleName | The type of rule names used in the form |
Type declaration
Name | Type | Defined in |
---|---|---|
elements | RuleName [] | formBuilder.ts:78 |
title ? | string | formBuilder.ts:79 |
Remarks
Each page contains an array of elements that should be displayed together.
The title
property is optional and can be used to provide a header for the page.