mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-02 01:09:04 +02:00
When a control is provided in config-based prefs then an element of that name will be created and passed a standard set of properties. If the element supports the static activatedProperty getter then that property will be set to the setting's value, otherwise the value property will be set. This additionally adds support for the getControlConfig() method when registering a Setting with preferencesBindings.js. This method allows for settings code to modify the static configuration to create more dynamic controls. Differential Revision: https://phabricator.services.mozilla.com/D253056 |
||
|---|---|---|
| .. | ||
| setting-control | ||
| setting-group | ||