Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
This global class provides a method to manage for managing the Preferences menu. This class has no constructor; its only method is accessed with the s_pref global object.
refresh()
Use this method to refresh the Preferences menu automatically.
Return:
Type | Description |
---|---|
Void | This method does not return a value. |
Example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
s_form.save().then(async (sysId) => { await s_user.setPreference('application', s_form.getValue('pack_application_id')); await s_user.setPreference('vcs.localPack.current', sysId); await s_pref.refresh(); }).finally(__resolveServerResponse); |
Table of Contents | ||||||
---|---|---|---|---|---|---|
|