get

gets JSON data from the storage

object get(string name);

Parameters

namestringthe data key

Returns

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