Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/component
WebStorageManager
Class WebStorageManager<C>
Type parameters
C
:
Component
=
Component
Hierarchy
StorageManager
<
C
>
WebStorageManager
Index
Constructors
constructor
Properties
component
Manager
Observers
root
Components
storage
Methods
add
Component
Manager
Observer
attach
Events
clear
detach
Events
did
Add
Component
Manager
Observer
did
Attach
did
Clear
did
Detach
did
Insert
Root
Component
did
Observe
did
Remove
Component
Manager
Observer
did
Remove
Root
Component
did
Set
get
insert
Root
Component
is
Attached
on
Add
Component
Manager
Observer
on
Attach
on
Clear
on
Detach
on
Insert
Root
Component
on
Remove
Component
Manager
Observer
on
Remove
Root
Component
on
Set
on
Storage
remove
Component
Manager
Observer
remove
Root
Component
set
will
Add
Component
Manager
Observer
will
Attach
will
Clear
will
Detach
will
Insert
Root
Component
will
Observe
will
Remove
Component
Manager
Observer
will
Remove
Root
Component
will
Set
local
session
Constructors
constructor
new
Web
Storage
Manager<C>
(
storage
:
Storage
)
:
WebStorageManager
<
C
>
Type parameters
C
:
Component
<
C
>
=
Component
Parameters
storage:
Storage
Returns
WebStorageManager
<
C
>
Properties
Readonly
component
Manager
Observers
component
Manager
Observers
:
readonly
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
[]
Readonly
root
Components
root
Components
:
readonly
C
[]
Readonly
storage
storage
:
Storage
Methods
add
Component
Manager
Observer
add
Component
Manager
Observer
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
Protected
attach
Events
attach
Events
(
)
:
void
Returns
void
clear
clear
(
)
:
void
Returns
void
Protected
detach
Events
detach
Events
(
)
:
void
Returns
void
Protected
did
Add
Component
Manager
Observer
did
Add
Component
Manager
Observer
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
Protected
did
Attach
did
Attach
(
)
:
void
Returns
void
Protected
did
Clear
did
Clear
(
)
:
void
Returns
void
Protected
did
Detach
did
Detach
(
)
:
void
Returns
void
Protected
did
Insert
Root
Component
did
Insert
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
Protected
did
Observe
did
Observe<T>
(
callback
:
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
=>
void
|
T
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
|
T
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
did
Remove
Component
Manager
Observer
did
Remove
Component
Manager
Observer
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
Protected
did
Remove
Root
Component
did
Remove
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
Protected
did
Set
did
Set
(
key
:
string
, newValue
:
undefined
|
string
, oldValue
:
undefined
|
string
)
:
void
Parameters
key:
string
newValue:
undefined
|
string
oldValue:
undefined
|
string
Returns
void
get
get
(
key
:
string
)
:
undefined
|
string
Parameters
key:
string
Returns
undefined
|
string
insert
Root
Component
insert
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
is
Attached
is
Attached
(
)
:
boolean
Returns
boolean
Protected
on
Add
Component
Manager
Observer
on
Add
Component
Manager
Observer
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
Protected
on
Attach
on
Attach
(
)
:
void
Returns
void
Protected
on
Clear
on
Clear
(
)
:
void
Returns
void
Protected
on
Detach
on
Detach
(
)
:
void
Returns
void
Protected
on
Insert
Root
Component
on
Insert
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
Protected
on
Remove
Component
Manager
Observer
on
Remove
Component
Manager
Observer
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
Protected
on
Remove
Root
Component
on
Remove
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
Protected
on
Set
on
Set
(
key
:
string
, newValue
:
undefined
|
string
, oldValue
:
undefined
|
string
)
:
void
Parameters
key:
string
newValue:
undefined
|
string
oldValue:
undefined
|
string
Returns
void
on
Storage
on
Storage
(
event
:
StorageEvent
)
:
void
Parameters
event:
StorageEvent
Returns
void
remove
Component
Manager
Observer
remove
Component
Manager
Observer
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
remove
Root
Component
remove
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
set
set
(
key
:
string
, newValue
:
undefined
|
string
)
:
undefined
|
string
Parameters
key:
string
newValue:
undefined
|
string
Returns
undefined
|
string
Protected
will
Add
Component
Manager
Observer
will
Add
Component
Manager
Observer
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
Protected
will
Attach
will
Attach
(
)
:
void
Returns
void
Protected
will
Clear
will
Clear
(
)
:
void
Returns
void
Protected
will
Detach
will
Detach
(
)
:
void
Returns
void
Protected
will
Insert
Root
Component
will
Insert
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
Protected
will
Observe
will
Observe<T>
(
callback
:
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
=>
void
|
T
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
|
T
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
will
Remove
Component
Manager
Observer
will
Remove
Component
Manager
Observer
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
Protected
will
Remove
Root
Component
will
Remove
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
Protected
will
Set
will
Set
(
key
:
string
, newValue
:
undefined
|
string
, oldValue
:
undefined
|
string
)
:
void
Parameters
key:
string
newValue:
undefined
|
string
oldValue:
undefined
|
string
Returns
void
Static
local
local<C>
(
)
:
null
|
WebStorageManager
<
C
>
Type parameters
C
:
Component
<
C
>
Returns
null
|
WebStorageManager
<
C
>
Static
session
session<C>
(
)
:
null
|
WebStorageManager
<
C
>
Type parameters
C
:
Component
<
C
>
Returns
null
|
WebStorageManager
<
C
>
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Web
Storage
Manager
constructor
component
Manager
Observers
root
Components
storage
add
Component
Manager
Observer
attach
Events
clear
detach
Events
did
Add
Component
Manager
Observer
did
Attach
did
Clear
did
Detach
did
Insert
Root
Component
did
Observe
did
Remove
Component
Manager
Observer
did
Remove
Root
Component
did
Set
get
insert
Root
Component
is
Attached
on
Add
Component
Manager
Observer
on
Attach
on
Clear
on
Detach
on
Insert
Root
Component
on
Remove
Component
Manager
Observer
on
Remove
Root
Component
on
Set
on
Storage
remove
Component
Manager
Observer
remove
Root
Component
set
will
Add
Component
Manager
Observer
will
Attach
will
Clear
will
Detach
will
Insert
Root
Component
will
Observe
will
Remove
Component
Manager
Observer
will
Remove
Root
Component
will
Set
local
session
Generated using
TypeDoc