Navigation:  Reference > Properties > Element Properties >

Stored Data as Associative Array

Previous pageReturn to chapter overviewNext page

This property is a associative array that contains the data stored in Local Storage element.  The data type of value could be number, string, object or array, and the data type will be decided when you store the data into the local storage element.

 

To get specified data with given key, just append "[key]" statement after the property.  The key is a text string and it will need to be quoted with double quote marks when the expression is in EVAL mode. For example, if  you stored the data with key "sky" into LocalStorage_1 element, you can retrieve this value with {"LocalStorage_1.data"}["sky"].

 

Syntax:

{Element.data}[key]

 

Example:

{"LocalStorage_1.data"}["key"] in EVAL mode, or {LocalStorage_1.data}[key] in TEXT mode.

 

This property is available for Local Storage