get

gets JSON data from the storage

object get(string name);
namestringthe data key
objecta data item from the storage associated with the key or null

Example

var weather = webix.storage.cookie.get('weather');

Details

The cookie string is returned unescaped and parsed to a JSON object. If you need to get the escaped raw string, use the getRaw method.

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.