Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
lf
ILocalForage
Interface ILocalForage
Index
Properties
length
Methods
clear
getItem
key
removeItem
setItem
Properties
public
length
:
number
Methods
public
clear
(
)
public
getItem
(
key
:
string
, callback
:
ICallback
)
Parameters
key:
string
callback:
ICallback
public
getItem
(
key
:
string
)
:
IPromise
Parameters
key:
string
Returns
IPromise
public
key
(
index
:
number
)
:
T in lf.ILocalForage<T>
Parameters
index:
number
Returns
T in lf.ILocalForage<T>
public
removeItem
(
key
:
string
, callback
:
ICallback
)
Parameters
key:
string
callback:
ICallback
public
removeItem
(
key
:
string
)
:
IPromise
Parameters
key:
string
Returns
IPromise
public
setItem
(
key
:
string
, value
:
T in lf.ILocalForage<T>
, callback
:
ICallback
)
Parameters
key:
string
value:
T in lf.ILocalForage<T>
callback:
ICallback
public
setItem
(
key
:
string
, value
:
T in lf.ILocalForage<T>
)
:
IPromise
Parameters
key:
string
value:
T in lf.ILocalForage<T>
Returns
IPromise
Globals
lf
ICallback
ILocalForage
length
clear
getItem
key
removeItem
setItem
IPromise