Macro question

What the changes between ko.prefs.setLong(pref,value) and ko.prefs.getLong(pref,value), ko.prefs.setBoolean(pref,value) and ko.prefs.getBoolean(pref,value)?

One is for setting and the other is for getting info (one writes, the other reads).

The get methods have a value attribute which is used as a fallback in case the preference is not set.

1 Like

Okay, thanks!