FormioFormBuilder
Extends:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
builderReady: * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
dialog: * |
|
| public |
dragContainers: *[] |
|
| public |
dragula: * |
|
| public |
editForm: * |
|
| public |
form: * |
|
| public |
groups: {} |
|
| public |
preview: * |
|
| public get |
ready: * |
|
| public |
|
|
| public |
sideBarTop: * |
|
| public |
sidebarContainers: *[] |
|
| public |
submitButton: * |
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
addBuilderComponent(component: *, group: *): * |
|
| public |
addBuilderComponentInfo(component: *): * |
|
| public |
addBuilderGroup(info: *, container: *) |
|
| public |
addComponentTo(parent: *, schema: *, element: *, sibling: *): * |
|
| public |
addDragContainer(element: *, component: *, dragEvents: *) |
|
| public |
Adds a submit button if there are no components. |
|
| public |
build() |
|
| public |
|
|
| public |
clear() |
|
| public |
deleteComponent(component: *): * |
|
| public |
destroy() |
|
| public |
editComponent(component: *) |
|
| public |
getParentElement(element: *): * |
|
| public |
insertInOrder(info: *, items: *, element: *, container: *) Insert an element in the weight order. |
|
| public |
onDrop(element: *, target: *, source: *, sibling: *): * |
|
| public |
|
|
| public |
|
|
| public |
setBuilderElement(): * |
|
| public |
updateComponent(component: *) |
|
Public Constructors
public constructor() source
Public Members
public builderReady: * source
public builderReadyResolve: * source
public builderSidebar: * source
public componentPreview: * source
public defaultValueComponent: * source
public dialog: * source
public dragContainers: *[] source
public dragula: * source
public editForm: * source
public form: * source
public groups: {} source
public preview: * source
public get ready: * source
public sideBarElement: * source
public sideBarTop: * source
public sidebarContainers: *[] source
public submitButton: * source
public updateDraggable: * source
Public Methods
public addBuilderComponent(component: *, group: *): * source
Params:
| Name | Type | Attribute | Description |
| component | * | ||
| group | * |
Return:
| * |
public addBuilderComponentInfo(component: *): * source
Params:
| Name | Type | Attribute | Description |
| component | * |
Return:
| * |
public addBuilderGroup(info: *, container: *) source
Params:
| Name | Type | Attribute | Description |
| info | * | ||
| container | * |
public addComponentTo(parent: *, schema: *, element: *, sibling: *): * source
Params:
| Name | Type | Attribute | Description |
| parent | * | ||
| schema | * | ||
| element | * | ||
| sibling | * |
Return:
| * |
public addDragContainer(element: *, component: *, dragEvents: *) source
Params:
| Name | Type | Attribute | Description |
| element | * | ||
| component | * | ||
| dragEvents | * |
public build() source
public buildSidebar() source
public clear() source
public deleteComponent(component: *): * source
Params:
| Name | Type | Attribute | Description |
| component | * |
Return:
| * |
public destroy() source
public editComponent(component: *) source
Params:
| Name | Type | Attribute | Description |
| component | * |
public getParentElement(element: *): * source
Params:
| Name | Type | Attribute | Description |
| element | * |
Return:
| * |
public insertInOrder(info: *, items: *, element: *, container: *) source
Insert an element in the weight order.
Params:
| Name | Type | Attribute | Description |
| info | * | ||
| items | * | ||
| element | * | ||
| container | * |
public onDrop(element: *, target: *, source: *, sibling: *): * source
Params:
| Name | Type | Attribute | Description |
| element | * | ||
| target | * | ||
| source | * | ||
| sibling | * |
Return:
| * |
public refreshDraggable() source
public scrollSidebar() source
public updateComponent(component: *) source
Params:
| Name | Type | Attribute | Description |
| component | * |
