0

I would like to store string value at exit stage & retrieve it in application open stage. I am unable to store data directly by using webix.storage.local.put()

balusu
  • 367
  • 3
  • 10

1 Answers1

2

You can use unload event to store the data

webix.attachEvent("unload", function(){
  webix.storage.local.put('t1-val', $$('t1').getValue() );
})

Check the next sample

http://webix.com/snippet/eceb4da2

Aquatic
  • 5,084
  • 3
  • 24
  • 28