goog.tweak.Registry |
queryParams
: string
Value of window.location.search.
|
compilerOverrides
: !Object.<string | number | boolean>
Default value
overrides set by the compiler.
|
![]()
Adds a callback to be called whenever a new tweak is added.
Arguments:
|
code » | ||
Creates and returns an array of all BaseSetting objects with an associted
query parameter.
|
code » | ||
Returns the boolean setting with the given ID. Asserts if the ID does not
refer to a registered entry or if it refers to one of the wrong type.
Arguments:
Returns: !goog.tweak.BooleanSetting
The entry.
|
code » | ||
Returns the BaseEntry with the given ID. Asserts if it does not exists.
Arguments:
Returns: !goog.tweak.BaseEntry
The entry.
|
code » | ||
Returns the numeric setting with the given ID. Asserts if the ID does not
refer to a registered entry or if it refers to one of the wrong type.
Arguments:
Returns: !goog.tweak.NumericSetting
The entry.
|
code » | ||
Returns the string setting with the given ID. Asserts if the ID does not
refer to a registered entry or if it refers to one of the wrong type.
Arguments:
Returns: !goog.tweak.StringSetting
The entry.
|
code » | ||
No description.
|
code » | ||
Returns the query part of the URL that will apply all set tweaks.
Arguments:
Returns: string
The query string.
|
code » | ||
![]()
Sets a default value to use for the given tweak instead of the one passed
to the register* function. This function must be called before the tweak is
registered.
|
code » | ||
![]()
Registers the given tweak setting/action.
Arguments:
|
code » |
![]()
A map of entry ID -> default value override for overrides set by the
compiler.
|
Code » | |
![]()
A map of entry ID -> default value override for overrides set by
goog.tweak.overrideDefaultValue().
|
Code » | |
![]()
A map of entry id -> entry object
|
Code » | |
The logger for this class.
|
Code » | |
![]()
List of callbacks to call when a new entry is registered.
|
Code » | |
![]()
The map of query params to use when initializing entry settings.
|
Code » |
Simple parser for query params. Makes all keys lower-case.
|
code » |