core_message/preferences_notifications_list_controller

Controls the preferences for the list of notification types on the message preference page

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Methods

(inner) isDisabled() → {bool}

Source:

Check if the preferences are all disabled.

Returns:
Type
bool

(inner) registerEventListeners()

Source:

Set up all of the event listeners for the PreferencesController.

(inner) setDisabled()

Source:

Disable all of the preferences.

(inner) setEnabled()

Source:

Enable all of the preferences.

(inner) toggleDisableAllStatus() → {Promise}

Source:

Update the disable all notifications user property in the DOM and send a request to update on the server.

Returns:
Type
Promise