Module: storage

Local storage add-on.

Summary

Methods

Detailed Description

Methods

cleanup(prefixnullable)

Perform local storage cleanup.
Parameters:
Name Type Attributes Description
prefix String <nullable>
Storage prefix.
Source:

debug(prefixnullable)

Print the local storage.
Parameters:
Name Type Attributes Description
prefix String <nullable>
Storage prefix.
Source:

get(key, prefixnullable) → {String}

Get the value from the local storage.
Parameters:
Name Type Attributes Description
key String Key
prefix String <nullable>
Storage prefix.
Returns:
Value
Type
String
Source:

init(prefix)

Initialize the application storage.
Parameters:
Name Type Description
prefix String Storage prefix
Source:

set(key, value, prefixnullable)

Save the value in the local storage.
Parameters:
Name Type Attributes Description
key String Key
value String Value
prefix String <nullable>
Storage prefix.
Source: