put

puts data into the storage

void put(string name,object value);

Parameters

namestringthe data key
valueobjecta data item that should be associated with the specified data key

Example

//data that was just changed
view.attachEvent("onAfterEditStop", function(){
    webix.storage.local.put("app_data", this.serialize());
});

See also
Back to top