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
HistoryManager
Class HistoryManager<C>
Type parameters
C
:
Component
=
Component
Hierarchy
ComponentManager
<
C
>
HistoryManager
Index
Constructors
constructor
Properties
component
Manager
Observers
history
State
root
Components
Accessors
history
Uri
Methods
add
Component
Manager
Observer
attach
Events
detach
Events
did
Add
Component
Manager
Observer
did
Attach
did
Detach
did
Insert
Root
Component
did
Observe
did
Pop
History
did
Push
History
did
Remove
Component
Manager
Observer
did
Remove
Root
Component
did
Replace
History
insert
Root
Component
is
Attached
on
Add
Component
Manager
Observer
on
Attach
on
Detach
on
Insert
Root
Component
on
Pop
History
on
Push
History
on
Remove
Component
Manager
Observer
on
Remove
Root
Component
on
Replace
History
pop
History
push
History
remove
Component
Manager
Observer
remove
Root
Component
replace
History
will
Add
Component
Manager
Observer
will
Attach
will
Detach
will
Insert
Root
Component
will
Observe
will
Pop
History
will
Push
History
will
Remove
Component
Manager
Observer
will
Remove
Root
Component
will
Replace
History
global
Constructors
constructor
new
History
Manager<C>
(
)
:
HistoryManager
<
C
>
Type parameters
C
:
Component
<
C
>
=
Component
Returns
HistoryManager
<
C
>
Properties
Readonly
component
Manager
Observers
component
Manager
Observers
:
readonly
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
[]
Readonly
history
State
history
State
:
HistoryState
Readonly
root
Components
root
Components
:
readonly
C
[]
Accessors
history
Uri
get
historyUri
(
)
:
Uri
Returns
Uri
Methods
add
Component
Manager
Observer
add
Component
Manager
Observer
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
Protected
attach
Events
attach
Events
(
)
:
void
Returns
void
Protected
detach
Events
detach
Events
(
)
:
void
Returns
void
Protected
did
Add
Component
Manager
Observer
did
Add
Component
Manager
Observer
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
Protected
did
Attach
did
Attach
(
)
:
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
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
=>
void
|
T
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
|
T
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
did
Pop
History
did
Pop
History
(
newState
:
HistoryState
, oldState
:
HistoryState
)
:
void
Parameters
newState:
HistoryState
oldState:
HistoryState
Returns
void
Protected
did
Push
History
did
Push
History
(
newState
:
HistoryState
, oldState
:
HistoryState
)
:
void
Parameters
newState:
HistoryState
oldState:
HistoryState
Returns
void
Protected
did
Remove
Component
Manager
Observer
did
Remove
Component
Manager
Observer
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
Protected
did
Remove
Root
Component
did
Remove
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
Protected
did
Replace
History
did
Replace
History
(
newState
:
HistoryState
, oldState
:
HistoryState
)
:
void
Parameters
newState:
HistoryState
oldState:
HistoryState
Returns
void
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
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
Protected
on
Attach
on
Attach
(
)
:
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
Pop
History
on
Pop
History
(
newState
:
HistoryState
, oldState
:
HistoryState
)
:
void
Parameters
newState:
HistoryState
oldState:
HistoryState
Returns
void
Protected
on
Push
History
on
Push
History
(
newState
:
HistoryState
, oldState
:
HistoryState
)
:
void
Parameters
newState:
HistoryState
oldState:
HistoryState
Returns
void
Protected
on
Remove
Component
Manager
Observer
on
Remove
Component
Manager
Observer
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
Protected
on
Remove
Root
Component
on
Remove
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
Protected
on
Replace
History
on
Replace
History
(
newState
:
HistoryState
, oldState
:
HistoryState
)
:
void
Parameters
newState:
HistoryState
oldState:
HistoryState
Returns
void
pop
History
pop
History
(
event
:
PopStateEvent
)
:
void
Parameters
event:
PopStateEvent
Returns
void
push
History
push
History
(
deltaState
:
HistoryStateInit
)
:
void
Parameters
deltaState:
HistoryStateInit
Returns
void
remove
Component
Manager
Observer
remove
Component
Manager
Observer
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
remove
Root
Component
remove
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
replace
History
replace
History
(
deltaState
:
HistoryStateInit
)
:
void
Parameters
deltaState:
HistoryStateInit
Returns
void
Protected
will
Add
Component
Manager
Observer
will
Add
Component
Manager
Observer
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
Protected
will
Attach
will
Attach
(
)
:
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
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
=>
void
|
T
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
|
T
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
will
Pop
History
will
Pop
History
(
newState
:
HistoryState
, oldState
:
HistoryState
)
:
void
Parameters
newState:
HistoryState
oldState:
HistoryState
Returns
void
Protected
will
Push
History
will
Push
History
(
newState
:
HistoryState
, oldState
:
HistoryState
)
:
void
Parameters
newState:
HistoryState
oldState:
HistoryState
Returns
void
Protected
will
Remove
Component
Manager
Observer
will
Remove
Component
Manager
Observer
(
componentManagerObserver
:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
)
:
void
Parameters
componentManagerObserver:
HistoryManagerObserver
<
Component
,
HistoryManager
<
Component
>
>
Returns
void
Protected
will
Remove
Root
Component
will
Remove
Root
Component
(
rootComponent
:
C
)
:
void
Parameters
rootComponent:
C
Returns
void
Protected
will
Replace
History
will
Replace
History
(
newState
:
HistoryState
, oldState
:
HistoryState
)
:
void
Parameters
newState:
HistoryState
oldState:
HistoryState
Returns
void
Static
global
global<C>
(
)
:
HistoryManager
<
C
>
Type parameters
C
:
Component
<
C
>
Returns
HistoryManager
<
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
History
Manager
constructor
component
Manager
Observers
history
State
root
Components
history
Uri
add
Component
Manager
Observer
attach
Events
detach
Events
did
Add
Component
Manager
Observer
did
Attach
did
Detach
did
Insert
Root
Component
did
Observe
did
Pop
History
did
Push
History
did
Remove
Component
Manager
Observer
did
Remove
Root
Component
did
Replace
History
insert
Root
Component
is
Attached
on
Add
Component
Manager
Observer
on
Attach
on
Detach
on
Insert
Root
Component
on
Pop
History
on
Push
History
on
Remove
Component
Manager
Observer
on
Remove
Root
Component
on
Replace
History
pop
History
push
History
remove
Component
Manager
Observer
remove
Root
Component
replace
History
will
Add
Component
Manager
Observer
will
Attach
will
Detach
will
Insert
Root
Component
will
Observe
will
Pop
History
will
Push
History
will
Remove
Component
Manager
Observer
will
Remove
Root
Component
will
Replace
History
global
Generated using
TypeDoc