State

extensions/state/State~ State

State extension.

Constructor

new State()

Source:

Methods

clear()

Clear the state
Source:

dump() → {Object|Object|*}

Dump state content
Source:
Returns:
Type:
Object | Object | *

get(key) → {*}

Retrieves a value for given key.
Source:
Parameters:
Name Type Description
key string The key you wish to retrieve a value for
Returns:
Type:
*

set(key, value)

Sets value for given key.
Source:
Parameters:
Name Type Description
key string The key you wish to set a value for
value * The value