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: