
goog.demos.tweakui.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-closure-library
Show all versions of google-closure-library
The Google Closure Library is a collection of JavaScript code
designed for use with the Google Closure JavaScript Compiler.
This non-official distribution was prepared by the ClojureScript
team at http://clojure.org/
goog.tweak.TweakUi
goog.ui.TweakUi
The goog.tweak package provides a convenient and flexible way to add
configurable settings to an app. These settings:
- can be set at compile time
- can be set in code (using goog.tweak.overrideDefaultValue)
- can be set by query parameters
- can be set through the TweakUi interface
Tweaks IDs are checked by the compiler and tweaks can be fully removed when
tweakProcessing=STRIP. Tweaks are great for toggling debugging facilities.
A collapsible menu
An expanded menu
- When "Apply Tweaks" is clicked, all non-default values are encoded into
query parameters and the page is refreshed.
- Blue entries are ones where the value of the tweak will change without
clicking apply tweaks (the value of goog.tweak.get*() will change)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy