Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
runegan opened this issue Oct 6, 2017 · 0 comments
Open

Comments

@runegan
Copy link
Member

runegan commented Oct 6, 2017

Original report by Zack Lovatt (Bitbucket: zlovatt, GitHub: zlovatt).


.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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant