Description

Application storage for persisting data

Details

Members


<static> keys

Description

List of storage keys. Only these keys can be stored in this storage. For more details, @see: https://developer.chrome.com/docs/extensions/reference/storage/

Returns

Object

Details

Methods


<static> get( keys, callback )

Description

get some property from storage

Parameters
Name Type Description
keys String | Array.<String> | Object

must be one of: A single key to get, list of keys to get, or a dictionary specifying default values (see description of the object). An empty list or object will return an empty result object. Pass in null to get the entire contents of storage.

callback function

function to call with result

Details

<static> save( key, value, callback )

Description

save some property in storage

Parameters
Name Type Description
key String

one of storage.keys

value *

value to save

callback function

called after save operation has completed

Details