- Description:
Controls the preferences for the list of notification types on the message preference page
- Source:
- Copyright:
- 2016 Ryan Wyllie
- 2016 Ryan Wyllie
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Controls the preferences for the list of notification types on the message preference page
Methods
(inner) isDisabled() → {bool}
- Description:
Check if the preferences are all disabled.
- Source:
Returns:
- Type
- bool
(inner) registerEventListeners()
- Description:
Set up all of the event listeners for the PreferencesController.
- Source:
(inner) setDisabled()
- Description:
Disable all of the preferences.
- Source:
(inner) setEnabled()
- Description:
Enable all of the preferences.
- Source:
(inner) toggleDisableAllStatus() → {Promise}
- Description:
Update the disable all notifications user property in the DOM and send a request to update on the server.
- Source:
Returns:
- Type
- Promise