pebble / clay

Pebble Config Framework
MIT License
121 stars 29 forks source link

Add the ability to persist data outside of config items #116

Closed keegan-lillo closed 4 years ago

keegan-lillo commented 8 years ago

Would be super handy to expose an API like clayConfig.storage.set('key', 'value') and clayConfig.storage.get('key') to allow developers to keep track of the state of the config without actually using the config to store things.

Config items can be set to persist as well if they have an ID set

{
  type: 'input',
  id: 'key'
  persist: true
}