Search
Preparing search index...
The search index is not available
JSDK 2.7.0 API
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
JS
store
DataCache
Class DataCache
Hierarchy
DataCache
Index
Constructors
constructor
Methods
clear
delete
destroy
has
Key
keys
load
read
write
Constructors
constructor
new
Data
Cache
(
init
:
DataCacheInit
)
:
DataCache
Parameters
init:
DataCacheInit
Returns
DataCache
Methods
clear
clear
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
delete
delete
(
id
:
string
)
:
Promise
<
void
>
Parameters
id:
string
Returns
Promise
<
void
>
destroy
destroy
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
has
Key
has
Key
(
id
:
string
)
:
Promise
<
boolean
>
Parameters
id:
string
Returns
Promise
<
boolean
>
keys
keys
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
load
load
(
d
:
RemoteCachedData
)
:
Promise
<
this
>
Parameters
d:
RemoteCachedData
Returns
Promise
<
this
>
read
read<T>
(
id
:
string
)
:
Promise
<
T
>
Type parameters
T
Parameters
id:
string
Returns
Promise
<
T
>
write
write<T>
(
d
:
LocalCachedData
<
T
>
)
:
Promise
<
void
>
Type parameters
T
Parameters
d:
LocalCachedData
<
T
>
Returns
Promise
<
void
>
Globals
JS
an
app
core
d2
ds
fx
input
ioc
lang
math
media
model
net
store
sugar
ui
unit
util
view
Cookie
Store
Data
Cache
constructor
clear
delete
destroy
has
Key
keys
load
read
write
Image
Cache
Local
Store
Session
Store
Store
Helper
Data
Cache
Init
Local
Cached
Data
Remote
Cached
Data
Remote
Image
Array
Cache
Primitive
Type
Cache
Data
Type
Cache
Primitive
Type
Json
Cache
Primitive
Type
Store
Data
Type
Store
Primitive
Type
D
J
L
S
T
TP