Skip to content

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

Description

@runegan

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions