- Source:
Classes
Members
-
<inner> viewTemplate :module:settings/js/widgets/view-widget.ViewWidget~ViewTemplate
-
Base template for the widget. Override if using Bootstrap 3
Type:
- Source:
Methods
-
<inner> getConfig()
-
Returns the configuration for the widget
- Source:
Returns:
The configuration for the widget
-
<inner> handleValidation()
-
Handles the results of server side validation
- Source:
-
<inner> render()
-
Renders the widget
- Source:
-
<inner> updateConfig(config)
-
Updates the widget with new configuration
Parameters:
Name Type Description configThe new config for the wizard
- Source:
-
<inner> validateInputs() → {boolean}
-
Validates the widget and applies formatting appropriately
- Source:
Returns:
False if
- Viewing mode is Reference, and the reference field is blank
- Viewing mode is connector, and the connector host is blank or the port number is invalid
- The view server settings are invalid
- Type
- boolean
Type Definitions
-
ViewWidgetOptions
-
Extends AciWidgetOptions
- Source:
Properties:
Name Type Description stringsViewWidgetStrings Strings for the widget
-
ViewWidgetStrings
-
Extends AciWidgetStrings
- Source:
Properties:
Name Type Description referenceFieldLabelstring The label of the reference field dropdown
referenceFieldBlankstring The error message to display when the reference field is blank
referenceFieldPlaceholderstring Placeholder for the reference field input
connectorstring Label for the connector section
viewingModestring Label for the viewing mode dropdown
-
ViewWidgetTemplateParameters
-
- Source:
Properties:
Name Type Description stringsViewWidgetStrings Strings for the template