How to access local storage
Hello,
With last update i've read some comments that to access local storage, i should use this :
code
alert(1);
$a.storage.editMessageId.set("1000000");
alert(2);
alert($a.storage.editMessageId.get());
/code
editMessageId is the local var name i would like to set / get.
Above will alert 1, not 2 so it breaks when i try to set the var...
Can anyone explain how to do this?
Thanks,
Peter