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
ComponentViewTraitInit
Interface ComponentViewTraitInit<V, R, VU, RU>
Type parameters
V
:
View
R
:
Trait
VU =
never
RU =
never
Hierarchy
ComponentViewTraitInit
Index
Properties
extends
observe
Trait
observe
View
trait
Key
trait
Type
view
Key
view
Type
Methods
create
Trait
create
View
did
Set
Trait
did
Set
View
from
Any
insert
Trait
insert
View
on
Set
Trait
on
Set
View
will
Set
Trait
will
Set
View
Properties
Optional
extends
extends
:
ComponentViewTraitClass
Optional
observe
Trait
observe
Trait
:
boolean
Optional
observe
View
observe
View
:
boolean
Optional
trait
Key
trait
Key
:
string
|
boolean
Optional
trait
Type
trait
Type
:
unknown
Optional
view
Key
view
Key
:
string
|
boolean
Optional
view
Type
view
Type
:
ViewFactory
<
V
,
VU
>
Methods
Optional
create
Trait
create
Trait
(
)
:
null
|
R
|
RU
Returns
null
|
R
|
RU
Optional
create
View
create
View
(
)
:
null
|
V
|
VU
Returns
null
|
V
|
VU
Optional
did
Set
Trait
did
Set
Trait
(
newTrait
:
null
|
R
, oldTrait
:
null
|
R
, targetTrait
:
null
|
Trait
)
:
void
Parameters
newTrait:
null
|
R
oldTrait:
null
|
R
targetTrait:
null
|
Trait
Returns
void
Optional
did
Set
View
did
Set
View
(
newView
:
null
|
V
, oldView
:
null
|
V
, targetView
:
null
|
View
)
:
void
Parameters
newView:
null
|
V
oldView:
null
|
V
targetView:
null
|
View
Returns
void
Optional
from
Any
from
Any
(
value
:
V
|
VU
)
:
null
|
V
Parameters
value:
V
|
VU
Returns
null
|
V
Optional
insert
Trait
insert
Trait
(
model
:
Model
, trait
:
R
, targetTrait
:
null
|
Trait
, key
:
undefined
|
string
)
:
void
Parameters
model:
Model
trait:
R
targetTrait:
null
|
Trait
key:
undefined
|
string
Returns
void
Optional
insert
View
insert
View
(
parentView
:
View
, childView
:
V
, targetView
:
null
|
View
, key
:
undefined
|
string
)
:
void
Parameters
parentView:
View
childView:
V
targetView:
null
|
View
key:
undefined
|
string
Returns
void
Optional
on
Set
Trait
on
Set
Trait
(
newTrait
:
null
|
R
, oldTrait
:
null
|
R
, targetTrait
:
null
|
Trait
)
:
void
Parameters
newTrait:
null
|
R
oldTrait:
null
|
R
targetTrait:
null
|
Trait
Returns
void
Optional
on
Set
View
on
Set
View
(
newView
:
null
|
V
, oldView
:
null
|
V
, targetView
:
null
|
View
)
:
void
Parameters
newView:
null
|
V
oldView:
null
|
V
targetView:
null
|
View
Returns
void
Optional
will
Set
Trait
will
Set
Trait
(
newTrait
:
null
|
R
, oldTrait
:
null
|
R
, targetTrait
:
null
|
Trait
)
:
void
Parameters
newTrait:
null
|
R
oldTrait:
null
|
R
targetTrait:
null
|
Trait
Returns
void
Optional
will
Set
View
will
Set
View
(
newView
:
null
|
V
, oldView
:
null
|
V
, targetView
:
null
|
View
)
:
void
Parameters
newView:
null
|
V
oldView:
null
|
V
targetView:
null
|
View
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
Component
View
Trait
Init
extends
observe
Trait
observe
View
trait
Key
trait
Type
view
Key
view
Type
create
Trait
create
View
did
Set
Trait
did
Set
View
from
Any
insert
Trait
insert
View
on
Set
Trait
on
Set
View
will
Set
Trait
will
Set
View
Generated using
TypeDoc