Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/controller
TraitControllerRefInit
Interface TraitControllerRefInit<T, C>
Type parameters
T
:
Trait
C
:
Controller
=
Controller
Hierarchy
ControllerRefInit
<
C
>
TraitControllerRefInit
Index
Properties
affinity
binds
extends
inherits
key
lazy
name
observes
parent
Controller
static
type
Methods
create
Controller
deinit
Controller
detect
Controller
did
Attach
Controller
did
Bind
Super
Fastener
did
Detach
Controller
did
Inherit
did
Mount
did
Set
Affinity
did
Set
Inherits
did
Unbind
Super
Fastener
did
Uninherit
did
Unmount
from
Any
get
Trait
Ref
init
init
Controller
insert
Child
will
Attach
Controller
will
Bind
Super
Fastener
will
Detach
Controller
will
Inherit
will
Mount
will
Set
Affinity
will
Set
Inherits
will
Unbind
Super
Fastener
will
Uninherit
will
Unmount
Properties
Optional
affinity
affinity
:
number
Optional
binds
binds
:
boolean
Optional
extends
extends
:
null
|
string
|
boolean
|
{
prototype
:
TraitControllerRef
<
any
,
any
,
any
>
}
Optional
inherits
inherits
:
string
|
boolean
Optional
key
key
:
string
|
boolean
Optional
lazy
lazy
:
boolean
Optional
name
name
:
string
Optional
observes
observes
:
boolean
Optional
parent
Controller
parent
Controller
:
null
|
Controller
Optional
static
static
:
string
|
boolean
Optional
type
type
:
ControllerFactory
<
C
,
AnyController
<
C
>
>
Methods
Optional
create
Controller
create
Controller
(
trait
?:
T
)
:
C
Parameters
Optional
trait:
T
Returns
C
Optional
deinit
Controller
deinit
Controller
(
controller
:
C
)
:
void
Parameters
controller:
C
Returns
void
Optional
detect
Controller
detect
Controller
(
controller
:
Controller
)
:
null
|
C
Parameters
controller:
Controller
Returns
null
|
C
Optional
did
Attach
Controller
did
Attach
Controller
(
controller
:
C
, targetController
:
null
|
Controller
)
:
void
Parameters
controller:
C
targetController:
null
|
Controller
Returns
void
Optional
did
Bind
Super
Fastener
did
Bind
Super
Fastener
(
superFastener
:
Fastener
<
unknown
>
)
:
void
Parameters
superFastener:
Fastener
<
unknown
>
Returns
void
Optional
did
Detach
Controller
did
Detach
Controller
(
controller
:
C
)
:
void
Parameters
controller:
C
Returns
void
Optional
did
Inherit
did
Inherit
(
superFastener
:
Fastener
<
unknown
>
)
:
void
Parameters
superFastener:
Fastener
<
unknown
>
Returns
void
Optional
did
Mount
did
Mount
(
)
:
void
Returns
void
Optional
did
Set
Affinity
did
Set
Affinity
(
newAffinity
:
number
, oldAffinity
:
number
)
:
void
Parameters
newAffinity:
number
oldAffinity:
number
Returns
void
Optional
did
Set
Inherits
did
Set
Inherits
(
inherits
:
boolean
, superName
:
undefined
|
string
)
:
void
Parameters
inherits:
boolean
superName:
undefined
|
string
Returns
void
Optional
did
Unbind
Super
Fastener
did
Unbind
Super
Fastener
(
superFastener
:
Fastener
<
unknown
>
)
:
void
Parameters
superFastener:
Fastener
<
unknown
>
Returns
void
Optional
did
Uninherit
did
Uninherit
(
superFastener
:
Fastener
<
unknown
>
)
:
void
Parameters
superFastener:
Fastener
<
unknown
>
Returns
void
Optional
did
Unmount
did
Unmount
(
)
:
void
Returns
void
Optional
from
Any
from
Any
(
value
:
AnyController
<
C
>
)
:
C
Parameters
value:
AnyController
<
C
>
Returns
C
Optional
get
Trait
Ref
get
Trait
Ref
(
controller
:
C
)
:
TraitRef
<
any
,
T
>
Parameters
controller:
C
Returns
TraitRef
<
any
,
T
>
Optional
init
init
(
)
:
void
Returns
void
Optional
init
Controller
init
Controller
(
controller
:
C
)
:
void
Parameters
controller:
C
Returns
void
Optional
insert
Child
insert
Child
(
parent
:
Controller
, child
:
C
, target
:
null
|
Controller
, key
:
undefined
|
string
)
:
void
Parameters
parent:
Controller
child:
C
target:
null
|
Controller
key:
undefined
|
string
Returns
void
Optional
will
Attach
Controller
will
Attach
Controller
(
controller
:
C
, targetController
:
null
|
Controller
)
:
void
Parameters
controller:
C
targetController:
null
|
Controller
Returns
void
Optional
will
Bind
Super
Fastener
will
Bind
Super
Fastener
(
superFastener
:
Fastener
<
unknown
>
)
:
void
Parameters
superFastener:
Fastener
<
unknown
>
Returns
void
Optional
will
Detach
Controller
will
Detach
Controller
(
controller
:
C
)
:
void
Parameters
controller:
C
Returns
void
Optional
will
Inherit
will
Inherit
(
superFastener
:
Fastener
<
unknown
>
)
:
void
Parameters
superFastener:
Fastener
<
unknown
>
Returns
void
Optional
will
Mount
will
Mount
(
)
:
void
Returns
void
Optional
will
Set
Affinity
will
Set
Affinity
(
newAffinity
:
number
, oldAffinity
:
number
)
:
void
Parameters
newAffinity:
number
oldAffinity:
number
Returns
void
Optional
will
Set
Inherits
will
Set
Inherits
(
inherits
:
boolean
, superName
:
undefined
|
string
)
:
void
Parameters
inherits:
boolean
superName:
undefined
|
string
Returns
void
Optional
will
Unbind
Super
Fastener
will
Unbind
Super
Fastener
(
superFastener
:
Fastener
<
unknown
>
)
:
void
Parameters
superFastener:
Fastener
<
unknown
>
Returns
void
Optional
will
Uninherit
will
Uninherit
(
superFastener
:
Fastener
<
unknown
>
)
:
void
Parameters
superFastener:
Fastener
<
unknown
>
Returns
void
Optional
will
Unmount
will
Unmount
(
)
:
void
Returns
void
Modules
@swim/runtime
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/controller
@swim/ux
@swim/vis
@swim/maps
Trait
Controller
Ref
Init
affinity
binds
extends
inherits
key
lazy
name
observes
parent
Controller
static
type
create
Controller
deinit
Controller
detect
Controller
did
Attach
Controller
did
Bind
Super
Fastener
did
Detach
Controller
did
Inherit
did
Mount
did
Set
Affinity
did
Set
Inherits
did
Unbind
Super
Fastener
did
Uninherit
did
Unmount
from
Any
get
Trait
Ref
init
init
Controller
insert
Child
will
Attach
Controller
will
Bind
Super
Fastener
will
Detach
Controller
will
Inherit
will
Mount
will
Set
Affinity
will
Set
Inherits
will
Unbind
Super
Fastener
will
Uninherit
will
Unmount
Generated using
TypeDoc