-
Notifications
You must be signed in to change notification settings - Fork 1
prefs
Bohdan Potměkleč edited this page Dec 25, 2019
·
2 revisions
For list of all prefs paths and types see Preference Definitions.
| Type | Argument | Notes |
|---|---|---|
string |
path | path of the pref (must be contained on the list) |
function |
callback | has one argument — the pref value |
| Type | Argument | Notes |
|---|---|---|
array |
paths | |
function |
callback | (Optional) |
| Type | Argument | Notes |
|---|---|---|
string |
path | path of the pref |
function |
callback | accepts one argument |
| Type | Argument | Notes |
|---|---|---|
prefs.PreferenceValue |
newValue |
object. In path is the pref path, in value new pref value. |