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
CookieStore
Class CookieStore
Cookie helper.
Hierarchy
CookieStore
Index
Properties
DOMAIN
EXPIRES_
DATETIME
PATH
Methods
clear
get
remove
set
Properties
Static
DOMAIN
DOMAIN
:
string
= self.document?D.domain:null
缺省的数值存取域名
Static
EXPIRES_
DATETIME
EXPIRES_
DATETIME
:
string
= "Wed, 15 Apr 2099 00:00:00 GMT"
缺省的Cookie过期时间
Static
PATH
PATH
:
string
= "/"
缺省的数值存取路径
Methods
Static
clear
clear
(
)
:
void
Returns
void
Static
get
get<T>
(
key
:
string
)
:
T
Type parameters
T
Parameters
key:
string
Returns
T
Static
remove
remove
(
key
:
string
)
:
void
Parameters
key:
string
Returns
void
Static
set
set
(
key
:
string
, value
:
StoreDataType
, expireHours
?:
number
, path
?:
string
)
:
void
Parameters
key:
string
value:
StoreDataType
Optional
expireHours:
number
Optional
path:
string
Returns
void
Globals
JS
an
app
core
d2
ds
fx
input
ioc
lang
math
media
model
net
store
sugar
ui
unit
util
view
Cookie
Store
DOMAIN
EXPIRES_
DATETIME
PATH
clear
get
remove
set
Data
Cache
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
Cookie helper.