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

Allow claySettings to be modified from app.js #77

Closed
keegan-lillo opened this issue May 26, 2016 · 1 comment
Closed

Allow claySettings to be modified from app.js #77

keegan-lillo opened this issue May 26, 2016 · 1 comment

Comments

@keegan-lillo
Copy link
Contributor

keegan-lillo commented May 26, 2016

Provide an API to update the values stored in localStorage. Something like:

clay.setSettings('key', 'value') 

// Or for multiple:
clay.setSettings({
  key1: 'value-1',
  key2: 'value-2'
}) 
@PeterSumm
Copy link

PeterSumm commented Jun 20, 2016

Yep, hanging out for this one as it's what I need to migrate my existing apps!

Wait for version 1.1 then?

keegan-lillo pushed a commit that referenced this issue Oct 21, 2016
* .setSettings(key, value) to set a single setting
* .setSettings(object) to set multiple settings at once
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

2 participants