Created
February 25, 2016 11:18
-
-
Save riq363/073f133163fc55d2076e to your computer and use it in GitHub Desktop.
Save data to application storage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = { | |
color : 'red', | |
size : 'big', | |
page_id : '123456' | |
}; | |
EcwidApp.setAppStorage(data, function(){ | |
console.log('Data saved!'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment