How do I programmaticly manipulate the variables set by the set local variable action? And can I set variables that persist after the application is closed, like config variables?
How do I programmaticly manipulate the variables set by the set local variable action? And can I set variables that persist after the application is closed, like config variables?
It's just the standard HTML5 Local Storage. From any JavaScript, you an use any of the methods to manipulate the variables:
code
getItem(key);
setItem(key, value);
removeItem(key);
void clear();
/code
For example, to create a new variable:
code
localStorage.setItem('name', 'Joe');
/code
More info: http://dev.w3.org/html5/webstorage/