Module: settings/js/widgets/view-widget

settings/js/widgets/view-widget

Classes

ViewWidget

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
config

The 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

Properties:
Name Type Description
strings ViewWidgetStrings

Strings for the widget

Source:

ViewWidgetStrings

Extends AciWidgetStrings

Properties:
Name Type Description
referenceFieldLabel string

The label of the reference field dropdown

referenceFieldBlank string

The error message to display when the reference field is blank

referenceFieldPlaceholder string

Placeholder for the reference field input

connector string

Label for the connector section

viewingMode string

Label for the viewing mode dropdown

Source:

ViewWidgetTemplateParameters

Properties:
Name Type Description
strings ViewWidgetStrings

Strings for the template

Source:
Copyright 2013--2018 Micro Focus International plc. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
Documentation generated by JSDoc 3.4.3 on Fri Jun 22nd 14:40 2018 using the DocStrap template.