Module: settingsDialog

Methods

(static) createSettingsDialog(referencePreviewsAvaliable) → {HTMLElement}

Create the settings dialog shown to anonymous users.

Parameters:
Name Type Description
referencePreviewsAvaliable boolean
Source:
Returns:

settings dialog

Type
HTMLElement

(static) renderSettingsDialog(model) → {Element}

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

(inner) escapeChoices(choicesopt) → {SettingsChoiceModel}

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

Methods

(static) createSettingsDialog(referencePreviewsAvaliable) → {HTMLElement}

Create the settings dialog shown to anonymous users.

Parameters:
Name Type Description
referencePreviewsAvaliable boolean
Source:
Returns:

settings dialog

Type
HTMLElement

(static) renderSettingsDialog(model) → {Element}

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

(inner) escapeChoices(choicesopt) → {SettingsChoiceModel}

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