Temporary Settings Store
The Temporary Settings Store subcomponent is used by UI Enhancer to store/save user preferences temporarily, without persistence. This store may be useful for testing situations. For a settings store that persists, use the Cookie Settings Store.
Do not use this component directly. The information on this page should be use when customizing UI Enhancer.
See Also
UI Enhancer
Cookie Settings Store
Supported Events |
none |
---|---|
|
Methods
fetch()
Description |
Retrieves the current settings. |
---|---|
Parameters |
none |
Return value |
A JavaScript object containing the currently stored settings. This object has the following format: { textFont: <string>, // key from classname map theme: <string>, // key from classname map textSize: <number>, // in points lineSpacing: <number>, // in ems layout: <boolean>, toc: <boolean>, links: <boolean>, inputsLarger: <boolean> } |
Availability |
Infusion 1.4 and later |
See also |
save(settings)
Description |
Stores the specified settings. |
---|---|
Parameters |
settings { textFont: <string>, // key from classname map theme: <string>, // key from classname map textSize: <number>, // in points lineSpacing: <number>, // in ems layout: <boolean>, toc: <boolean>, links: <boolean>, inputsLarger: <boolean> } |
Availability |
Infusion 1.4 and later |
See also |