Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/dom
DomManager
Class DomManager<V>
Type parameters
V
:
NodeView
=
NodeView
Hierarchy
ViewManager
<
V
>
DomManager
Index
Constructors
constructor
Properties
root
Views
view
Manager
Observers
Methods
add
View
Manager
Observer
did
Add
View
Manager
Observer
did
Attach
did
Detach
did
Insert
Root
View
did
Observe
did
Remove
Root
View
did
Remove
View
Manager
Observer
insert
Root
View
is
Attached
materialize
Element
materialize
Node
materialize
Text
materialize
View
materialize
View
Controller
on
Add
View
Manager
Observer
on
Attach
on
Detach
on
Insert
Root
View
on
Remove
Root
View
on
Remove
View
Manager
Observer
remove
Root
View
remove
View
Manager
Observer
will
Add
View
Manager
Observer
will
Attach
will
Detach
will
Insert
Root
View
will
Observe
will
Remove
Root
View
will
Remove
View
Manager
Observer
boot
boot
Element
eval
global
Constructors
constructor
new
Dom
Manager<V>
(
)
:
DomManager
<
V
>
Type parameters
V
:
NodeView
<
V
>
=
NodeView
Returns
DomManager
<
V
>
Properties
Readonly
root
Views
root
Views
:
readonly
V
[]
Readonly
view
Manager
Observers
view
Manager
Observers
:
readonly
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
[]
Methods
add
View
Manager
Observer
add
View
Manager
Observer
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
Protected
did
Add
View
Manager
Observer
did
Add
View
Manager
Observer
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
Protected
did
Attach
did
Attach
(
)
:
void
Returns
void
Protected
did
Detach
did
Detach
(
)
:
void
Returns
void
Protected
did
Insert
Root
View
did
Insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
did
Observe
did
Observe<T>
(
callback
:
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
=>
void
|
T
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
|
T
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
did
Remove
Root
View
did
Remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
did
Remove
View
Manager
Observer
did
Remove
View
Manager
Observer
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
insert
Root
View
insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
is
Attached
is
Attached
(
)
:
boolean
Returns
boolean
materialize
Element
materialize
Element
(
parentView
:
NodeView
, childNode
:
Element
)
:
null
|
ElementView
Parameters
parentView:
NodeView
childNode:
Element
Returns
null
|
ElementView
materialize
Node
materialize
Node
(
parentView
:
NodeView
, childNode
:
ViewNode
)
:
null
|
NodeView
Parameters
parentView:
NodeView
childNode:
ViewNode
Returns
null
|
NodeView
materialize
Text
materialize
Text
(
parentView
:
NodeView
, childNode
:
Text
)
:
null
|
TextView
Parameters
parentView:
NodeView
childNode:
Text
Returns
null
|
TextView
materialize
View
materialize
View
(
parentView
:
NodeView
)
:
void
Parameters
parentView:
NodeView
Returns
void
materialize
View
Controller
materialize
View
Controller
(
view
:
ElementView
)
:
void
Parameters
view:
ElementView
Returns
void
Protected
on
Add
View
Manager
Observer
on
Add
View
Manager
Observer
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
Protected
on
Attach
on
Attach
(
)
:
void
Returns
void
Protected
on
Detach
on
Detach
(
)
:
void
Returns
void
Protected
on
Insert
Root
View
on
Insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
on
Remove
Root
View
on
Remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
on
Remove
View
Manager
Observer
on
Remove
View
Manager
Observer
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
remove
Root
View
remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
remove
View
Manager
Observer
remove
View
Manager
Observer
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
Protected
will
Add
View
Manager
Observer
will
Add
View
Manager
Observer
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
Protected
will
Attach
will
Attach
(
)
:
void
Returns
void
Protected
will
Detach
will
Detach
(
)
:
void
Returns
void
Protected
will
Insert
Root
View
will
Insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
will
Observe
will
Observe<T>
(
callback
:
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
=>
void
|
T
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
|
T
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
will
Remove
Root
View
will
Remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
will
Remove
View
Manager
Observer
will
Remove
View
Manager
Observer
(
viewManagerObserver
:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
)
:
void
Parameters
viewManagerObserver:
DomManagerObserver
<
ElementView
,
DomManager
<
ElementView
>
>
Returns
void
Static
boot
boot
(
)
:
ElementView
[]
Returns
ElementView
[]
Static
boot
Element
boot
Element
(
node
:
ViewElement
)
:
ElementView
Parameters
node:
ViewElement
Returns
ElementView
Static
eval
eval
(
qname
:
string
)
:
unknown
Parameters
qname:
string
Returns
unknown
Static
global
global<V>
(
)
:
DomManager
<
V
>
Type parameters
V
:
NodeView
<
V
>
Returns
DomManager
<
V
>
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
Dom
Manager
constructor
root
Views
view
Manager
Observers
add
View
Manager
Observer
did
Add
View
Manager
Observer
did
Attach
did
Detach
did
Insert
Root
View
did
Observe
did
Remove
Root
View
did
Remove
View
Manager
Observer
insert
Root
View
is
Attached
materialize
Element
materialize
Node
materialize
Text
materialize
View
materialize
View
Controller
on
Add
View
Manager
Observer
on
Attach
on
Detach
on
Insert
Root
View
on
Remove
Root
View
on
Remove
View
Manager
Observer
remove
Root
View
remove
View
Manager
Observer
will
Add
View
Manager
Observer
will
Attach
will
Detach
will
Insert
Root
View
will
Observe
will
Remove
Root
View
will
Remove
View
Manager
Observer
boot
boot
Element
eval
global
Generated using
TypeDoc