AngularJS and bootstrap Local Storage
Posted: Fri Sep 11, 2015 2:07 am
How do you save a variable to local storage? can i use a data mapping?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How do you save a variable to local storage? can i use a data mapping?
Hi -
Just use JS code:
pre
codelocalStorage.setItem("name", value)/code
/pre
And reference this variable in your project SCOPE.
[quote:]
can i use a data mapping?
[/quote]
No, unfortunately.