FormioWizard
Extends:
Constructor Summary
| Public Constructor | ||
| public |
constructor(element: *, options: Object) Constructor for wizard based forms |
|
Member Summary
| Public Members | ||
| public |
globalComponents: *[] |
|
| public |
history: *[] |
|
| public |
|
|
| public |
pages: *[] |
|
| public get |
schema: * |
|
| public |
wizard: * |
|
| public |
wizardHeader: * |
|
| public |
|
|
| public |
wizardNav: * |
|
| Private Members | ||
| private |
|
|
Method Summary
| Public Methods | ||
| public |
addGlobalComponents(page: *): * |
|
| public |
beforeSubmit(): * |
|
| public |
build() |
|
| public |
buildPages(form: *) |
|
| public |
|
|
| public |
buildWizardNav(nextPage: *) |
|
| public |
cancel(noconfirm: *): * |
|
| public |
currentPage(): * |
|
| public |
getNextPage(data: *, currentPage: *): * |
|
| public |
getPage(pageNum: *): * |
|
| public |
getPageIndexByKey(key: *): * |
|
| public |
getPreviousPage(): * |
|
| public |
getWizard(): * |
|
| public |
|
|
| public |
nextPage(): * |
|
| public |
onChange(flags: *, changed: *) |
|
| public |
pageId(page: *): * |
|
| public |
prevPage(): * |
|
| public |
setForm(form: *): * |
|
| public |
setPage(num: *): * |
|
Public Constructors
public constructor(element: *, options: Object) source
Constructor for wizard based forms
Params:
| Name | Type | Attribute | Description |
| element | * | Dom element to place this wizard. |
|
| options | Object | Options object, supported options are:
|
Public Members
public globalComponents: *[] source
public history: *[] source
public pages: *[] source
public get schema: * source
public wizard: * source
public wizardHeader: * source
public wizardHeaderList: * source
public wizardNav: * source
Private Members
Public Methods
public build() source
public buildPages(form: *) source
Params:
| Name | Type | Attribute | Description |
| form | * |
public buildWizardHeader() source
public buildWizardNav(nextPage: *) source
Params:
| Name | Type | Attribute | Description |
| nextPage | * |
public getNextPage(data: *, currentPage: *): * source
Params:
| Name | Type | Attribute | Description |
| data | * | ||
| currentPage | * |
Return:
| * |
public hasButton(name: *, nextPage: *): boolean source
Params:
| Name | Type | Attribute | Description |
| name | * | ||
| nextPage | * |
public onChange(flags: *, changed: *) source
Params:
| Name | Type | Attribute | Description |
| flags | * | ||
| changed | * |
