Constructor
new Layout(fe)
Class constructor.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element which the DOM structure and styling will be created for. |
- Source:
Members
contentPane :HTMLDivElement
The pane containing the content of the form element.
Type:
- HTMLDivElement
- Source:
headerBar :HTMLDivElement
A header bar inlcuding form element annotations and metadata.
Type:
- HTMLDivElement
- Source:
mainPane :HTMLDivElement
The main pane that includes the header bar and the content pane.
Type:
- HTMLDivElement
- Source:
root :HTMLDivElement
The root DOM element.
Type:
- HTMLDivElement
- Source:
Methods
updateContentPane(fe)
Updates the content pane with the new content included in the form element object.
Parameters:
Name | Type | Description |
---|---|---|
fe |
module:formElement~FormElement | The form element to be updated. |
- Source: