Home Reference Source
import WizardBuilder from 'formiojs/src/WizardBuilder.js'
public class | source

WizardBuilder

Extends:

src/WebformBuilder.js~WebformBuilder → WizardBuilder

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get
public set
public get

form: *

public
public get

pages: *

public get

schema: *

Private Members
private

_form: {"components": *}

Method Summary

Public Methods
public

addPage(page: *): *

public

allowDrop(element: *): *

public

attach(element: *): *

public

getPageConfig(index: *, components: *[]): {"title": *, "label": *, "type": string, "key": *, "components": *}

public

pasteComponent(component: *): *

public

rebuild(): *

public

removePage(pageIndex: *, componentIndex: *): *

public

render(): *

public

setPage(index: *): *

Public Constructors

public constructor() source

Public Members

public get currentPage: * source

public set form source

public get form: * source

public page: number source

public get pages: * source

public get schema: * source

Private Members

private _form: {"components": *} source

Public Methods

public addPage(page: *): * source

Params:

NameTypeAttributeDescription
page *

Return:

*

public allowDrop(element: *): * source

Params:

NameTypeAttributeDescription
element *

Return:

*

public attach(element: *): * source

Params:

NameTypeAttributeDescription
element *

Return:

*

public getPageConfig(index: *, components: *[]): {"title": *, "label": *, "type": string, "key": *, "components": *} source

Params:

NameTypeAttributeDescription
index *
components *[]
  • optional
  • default: []

Return:

{"title": *, "label": *, "type": string, "key": *, "components": *}

public pasteComponent(component: *): * source

Params:

NameTypeAttributeDescription
component *

Return:

*

public rebuild(): * source

Return:

*

public removePage(pageIndex: *, componentIndex: *): * source

Params:

NameTypeAttributeDescription
pageIndex *
componentIndex *

Return:

*

public render(): * source

Return:

*

public setPage(index: *): * source

Params:

NameTypeAttributeDescription
index *

Return:

*