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
Methods
(inner) isDisabled() → {bool}
Check if the preferences are all disabled.
Returns:
- Type
- bool
(inner) registerEventListeners()
Set up all of the event listeners for the PreferencesController.
(inner) setDisabled()
Disable all of the preferences.
(inner) setEnabled()
Enable all of the preferences.
(inner) toggleDisableAllStatus() → {Promise}
Update the disable all notifications user property in the DOM and send a request to update on the server.
Returns:
- Type
- Promise