new module:model/WebFormContent()
- Source:
Constructs a new WebFormContent.
Container for the components map used during configuration and data collection
Members
(inner) brandId :String
- Source:
Type:
- String
(inner) components :Object:.<String:, Object:.<String:, Object:>>
- Source:
Key/value dictionary of components that represent the form
Type:
(inner) isStandalone :Boolean
- Source:
Type:
- Boolean
(inner) templates :Array:.<module:model/TemplateProperties:>
- Source:
Optional template information that will be used to seed the form.
Type:
- Array:.<module:model/TemplateProperties:>
Methods
(static) constructFromObject(data, obj) → {module:model/WebFormContent}
- Source:
Constructs a WebFormContent from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/WebFormContent | Optional instance to populate. |
Returns:
The populated WebFormContent instance.