Every widget can save its own data and retrieve it in future sessions.
Save data
this.$api.datastore.export(data)
data
: (Object) the object you want to persist. The object will be stringified before getting stored.
Restoring data
this.$api.datastore.import(store)
store
: (Object) the object to merge with the stored data. A copy with the new data will be returned. Returns the stored object structure.