| | 1350 | |
| | 1351 | |
| | 1352 | Element Method: store {#Element:store} |
| | 1353 | -------------------------------------------------------- |
| | 1354 | |
| | 1355 | Stores an item in the Elements Storage, linked to this Element. |
| | 1356 | |
| | 1357 | |
| | 1358 | ### Syntax: |
| | 1359 | |
| | 1360 | myElement.store(key, value); |
| | 1361 | |
| | 1362 | ### Arguments: |
| | 1363 | |
| | 1364 | 1. key - (*string*) The key you want to assign to the stored value. |
| | 1365 | 2. value - (*mixed*) Any value you want to store. |
| | 1366 | |
| | 1367 | ### Returns: |
| | 1368 | |
| | 1369 | * (*element*) This Element. |
| | 1370 | |
| | 1371 | ### Example: |
| | 1372 | |
| | 1373 | $('element').store('someProperty', someValue); |
| | 1374 | |
| | 1375 | |
| | 1376 | Element Method: retrieve {#Element:retrieve} |
| | 1377 | -------------------------------------------------------- |
| | 1378 | |
| | 1379 | Retrieves a value from the Elements storage |
| | 1380 | |
| | 1381 | |
| | 1382 | ### Syntax: |
| | 1383 | |
| | 1384 | myElement.retrieve(key); |
| | 1385 | |
| | 1386 | ### Arguments: |
| | 1387 | |
| | 1388 | 1. key - (*string*) The key you want to retrieve from the storage. |
| | 1389 | |
| | 1390 | ### Returns: |
| | 1391 | |
| | 1392 | * (*mixed*) The value linked to the key. |
| | 1393 | |
| | 1394 | ### Example: |
| | 1395 | |
| | 1396 | $('element').retrieve('someProperty'); // returns someValue (see example above) |
| | 1397 | |
| | 1398 | |