put
puts data into the storage
void put(string name,object value, [string domain,Date expires] );
string | the data key | | value |
object | a data item that should be associated with the specified data key | | domain |
string | optional, the cookie domain | | expires | Date | optional, the cookie expiring time |
Example
webix.storage.cookie.put("weather", {
temperature:23, rain:false
}, "site.com", new Date(2018, 11, 31));
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.