UI: Add 'persistent controls' creation methods that link to prefs

Issue #45 new
Zack Lovatt
created an issue

.addPersistentCheckbox("checkbox text", "prefsKey", onClick, properties) .addPersistentEditText("default text", "prefsKey", onClick, properties)

So that they'll check the pref on load and update to reflect it, and then after being clicked they'll set the pref and then trigger the rest of the onclick

Comments (0)

  1. Log in to comment