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
StorageManager
Class StorageManager<C>
Type parameters
C
:
Component
=
Component
Hierarchy
ComponentManager
<
C
>
StorageManager
WebStorageManager
EphemeralStorageManager
Index
Constructors
constructor
Properties
component
Manager
Observers
root
Components
Methods
add
Component
Manager
Observer
clear
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
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
Constructors
constructor
new
Storage
Manager<C>
(
)
:
StorageManager
<
C
>
Type parameters
C
:
Component
<
C
>
=
Component
Returns
StorageManager
<
C
>
Properties
Readonly
component
Manager
Observers
component
Manager
Observers
:
readonly
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
[]
Readonly
root
Components
root
Components
:
readonly
C
[]
Methods
add
Component
Manager
Observer
add
Component
Manager
Observer
(
componentManagerObserver
:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
StorageManagerObserver
<
Component
,
StorageManager
<
Component
>
>
Returns
void
Abstract
clear
clear
(
)
:
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
Abstract
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
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
Abstract
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
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
Storage
Manager
constructor
component
Manager
Observers
root
Components
add
Component
Manager
Observer
clear
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
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
Generated using
TypeDoc