Module: settingsDialog

Methods

(static) createSettingsDialog(previewTypesEnabled) → {HTMLElement}

Create the settings dialog shown to anonymous users.

Parameters:
Name Type Description
previewTypesEnabled Object
Source:
Returns:

settings dialog

Type
HTMLElement

(static) renderSettingsDialog(model) → {HTMLElement}

Parameters:
Name Type Description
model SettingsModel
Source:
Returns:
Type
HTMLElement

(inner) escapeChoices(choicesopt) → {SettingsChoiceModel}

Parameters:
Name Type Attributes Description
choices Array.<SettingsChoiceModel> <optional>
Source:
Returns:
Type
SettingsChoiceModel

Methods

(static) createSettingsDialog(previewTypesEnabled) → {HTMLElement}

Create the settings dialog shown to anonymous users.

Parameters:
Name Type Description
previewTypesEnabled Object
Source:
Returns:

settings dialog

Type
HTMLElement

(static) renderSettingsDialog(model) → {HTMLElement}

Parameters:
Name Type Description
model SettingsModel
Source:
Returns:
Type
HTMLElement

(inner) escapeChoices(choicesopt) → {SettingsChoiceModel}

Parameters:
Name Type Attributes Description
choices Array.<SettingsChoiceModel> <optional>
Source:
Returns:
Type
SettingsChoiceModel