Skip to content
Bohdan Potměkleč edited this page Dec 25, 2019 · 2 revisions

For list of all prefs paths and types see Preference Definitions.

[Listener] vivaldi.prefs.onChanged

vivaldi.prefs.get()

Type Argument Notes
string path path of the pref (must be contained on the list)
function callback has one argument — the pref value

vivaldi.prefs.getForCache()

Type Argument Notes
array paths
function callback (Optional)

vivaldi.prefs.reset()

Type Argument Notes
string path path of the pref
function callback accepts one argument

vivaldi.prefs.set()

Type Argument Notes
prefs.PreferenceValue newValue object. In path is the pref path, in value new pref value.

Clone this wiki locally