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

webix.storage.session.put('weather', { temperature: 23, rain: false });

Back to top