Module: settings/js/controls/enable-view

settings/js/controls/enable-view

Classes

EnableView

Methods

<inner> fetchNewValues(server)

Fetches values for the dropdown for the given server

Parameters:
Name Type Description
server
Source:

<inner> getConfig() → {String}

Returns the current state of the view

Source:
Returns:

The current value for the dropdown setting

Type
String

<inner> handleNewValues()

Handler for changes in the list of available values

Source:

<inner> render()

Renders the view

Source:

<inner> toggleInput(isEnabled)

Hides or shows the security types input and corresponding instructions

Parameters:
Name Type Description
isEnabled boolean

True if dropdown values should be enabled; false otherwise

Source:

<protected, inner> updateDropdown()

Updates the dropdown with the values in the model.

Source:

Type Definitions

EnableViewOptions

Properties:
Name Type Description
enableIcon string

Classname for the icon of the enable button

strings EnableViewStrings

Strings for the view

Source:

EnableViewStrings

Properties:
Name Type Description
enable string

Text for the button saying it will enable the view

enabled string

Label text saying the widget is enabled

disable string

Text for the button saying it will disable the view

disabled string

Label text saying the widget is disabled

loading string

Text for the button saying the configuration is loading

Source:

Module: settings/js/controls/enable-view

settings/js/controls/enable-view

Classes

EnableView

Methods

<inner> fetchNewValues(server)

Fetches values for the dropdown for the given server

Parameters:
Name Type Description
server
Source:

<inner> getConfig() → {String}

Returns the current state of the view

Source:
Returns:

The current value for the dropdown setting

Type
String

<inner> handleNewValues()

Handler for changes in the list of available values

Source:

<inner> render()

Renders the view

Source:

<inner> toggleInput(isEnabled)

Hides or shows the security types input and corresponding instructions

Parameters:
Name Type Description
isEnabled boolean

True if dropdown values should be enabled; false otherwise

Source:

<protected, inner> updateDropdown()

Updates the dropdown with the values in the model.

Source:

Type Definitions

EnableViewOptions

Properties:
Name Type Description
enableIcon string

Classname for the icon of the enable button

strings EnableViewStrings

Strings for the view

Source:

EnableViewStrings

Properties:
Name Type Description
enable string

Text for the button saying it will enable the view

enabled string

Label text saying the widget is enabled

disable string

Text for the button saying it will disable the view

disabled string

Label text saying the widget is disabled

loading string

Text for the button saying the configuration is loading

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.