Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/button
ButtonStackController
Class ButtonStackController<V>
Type parameters
V
:
ButtonStack
=
ButtonStack
Hierarchy
HtmlViewController
<
V
>
ButtonStackController
Implements
ButtonStackObserver
<
V
>
Index
Constructors
constructor
Properties
view
Accessors
button
child
View
Controllers
child
View
Count
child
Views
items
key
node
parent
View
parent
View
Controller
stack
State
view
Context
view
Idiom
viewport
Methods
append
Child
Node
append
Child
View
append
Child
View
Controller
button
Stack
Did
Collapse
button
Stack
Did
Expand
button
Stack
Did
Hide
button
Stack
Did
Show
button
Stack
Will
Collapse
button
Stack
Will
Expand
button
Stack
Will
Hide
button
Stack
Will
Show
did
Set
View
get
Base
View
get
Child
View
get
Child
View
Controller
get
Super
View
insert
Child
Node
insert
Child
View
insert
Child
View
Controller
is
Culled
is
Displaying
is
Mounted
is
Powered
is
Processing
is
Traversing
is
Updating
on
Set
View
prepend
Child
Node
prepend
Child
View
prepend
Child
View
Controller
remove
remove
All
remove
Child
Node
remove
Child
View
remove
Child
View
Controller
remove
Items
set
Child
View
set
Child
View
Controller
set
View
view
Did
Animate
view
Did
Apply
Theme
view
Did
Change
view
Did
Composite
view
Did
Cull
view
Did
Insert
Child
Node
view
Did
Insert
Child
View
view
Did
Layout
view
Did
Mount
view
Did
Power
view
Did
Project
view
Did
Rasterize
view
Did
Remove
Child
Node
view
Did
Remove
Child
View
view
Did
Render
view
Did
Resize
view
Did
Scroll
view
Did
Set
Attribute
view
Did
Set
Parent
View
view
Did
Set
Style
view
Did
Uncull
view
Did
Unmount
view
Did
Unpower
view
Will
Animate
view
Will
Apply
Theme
view
Will
Change
view
Will
Composite
view
Will
Cull
view
Will
Insert
Child
Node
view
Will
Insert
Child
View
view
Will
Layout
view
Will
Mount
view
Will
Power
view
Will
Project
view
Will
Rasterize
view
Will
Remove
Child
Node
view
Will
Remove
Child
View
view
Will
Render
view
Will
Resize
view
Will
Scroll
view
Will
Set
Attribute
view
Will
Set
Parent
View
view
Will
Set
Style
view
Will
Uncull
view
Will
Unmount
view
Will
Unpower
will
Set
View
Constructors
constructor
new
Button
Stack
Controller<V>
(
)
:
ButtonStackController
<
V
>
Type parameters
V
:
ButtonStack
<
V
>
=
ButtonStack
Returns
ButtonStackController
<
V
>
Properties
Readonly
view
view
:
null
|
V
Accessors
button
get
button
(
)
:
null
|
HtmlView
Returns
null
|
HtmlView
child
View
Controllers
get
childViewControllers
(
)
:
readonly
(
null
|
ViewController
<
View
>
)
[]
Returns
readonly
(
null
|
ViewController
<
View
>
)
[]
child
View
Count
get
childViewCount
(
)
:
number
Returns
number
child
Views
get
childViews
(
)
:
readonly
View
[]
Returns
readonly
View
[]
items
get
items
(
)
:
readonly
ButtonItem
[]
Returns
readonly
ButtonItem
[]
key
get
key
(
)
:
undefined
|
string
Returns
undefined
|
string
node
get
node
(
)
:
null
|
ViewNodeType
<
V
>
Returns
null
|
ViewNodeType
<
V
>
parent
View
get
parentView
(
)
:
null
|
View
Returns
null
|
View
parent
View
Controller
get
parentViewController
(
)
:
null
|
ViewController
<
View
>
Returns
null
|
ViewController
<
View
>
stack
State
get
stackState
(
)
:
null
|
ButtonStackState
Returns
null
|
ButtonStackState
view
Context
get
viewContext
(
)
:
ViewContext
Returns
ViewContext
view
Idiom
get
viewIdiom
(
)
:
ViewIdiom
Returns
ViewIdiom
viewport
get
viewport
(
)
:
Viewport
Returns
Viewport
Methods
append
Child
Node
append
Child
Node
(
childNode
:
Node
, key
?:
string
)
:
void
Parameters
childNode:
Node
Optional
key:
string
Returns
void
append
Child
View
append
Child
View
(
childView
:
View
, key
?:
string
)
:
void
Parameters
childView:
View
Optional
key:
string
Returns
void
append
Child
View
Controller
append
Child
View
Controller
(
childViewController
:
ViewController
<
View
>
, key
?:
string
)
:
void
Parameters
childViewController:
ViewController
<
View
>
Optional
key:
string
Returns
void
button
Stack
Did
Collapse
button
Stack
Did
Collapse
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
button
Stack
Did
Expand
button
Stack
Did
Expand
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
button
Stack
Did
Hide
button
Stack
Did
Hide
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
button
Stack
Did
Show
button
Stack
Did
Show
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
button
Stack
Will
Collapse
button
Stack
Will
Collapse
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
button
Stack
Will
Expand
button
Stack
Will
Expand
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
button
Stack
Will
Hide
button
Stack
Will
Hide
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
button
Stack
Will
Show
button
Stack
Will
Show
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
did
Set
View
did
Set
View
(
view
:
null
|
V
)
:
void
Parameters
view:
null
|
V
Returns
void
get
Base
View
get
Base
View<V>
(
viewClass
:
ViewClass
<
V
>
)
:
null
|
V
Type parameters
V
:
View
<
V
>
Parameters
viewClass:
ViewClass
<
V
>
Returns
null
|
V
get
Child
View
get
Child
View
(
key
:
string
)
:
null
|
View
Parameters
key:
string
Returns
null
|
View
get
Child
View
Controller
get
Child
View
Controller
(
key
:
string
)
:
null
|
ViewController
<
View
>
Parameters
key:
string
Returns
null
|
ViewController
<
View
>
get
Super
View
get
Super
View<V>
(
viewClass
:
ViewClass
<
V
>
)
:
null
|
V
Type parameters
V
:
View
<
V
>
Parameters
viewClass:
ViewClass
<
V
>
Returns
null
|
V
insert
Child
Node
insert
Child
Node
(
childNode
:
Node
, targetNode
:
null
|
Node
, key
?:
string
)
:
void
Parameters
childNode:
Node
targetNode:
null
|
Node
Optional
key:
string
Returns
void
insert
Child
View
insert
Child
View
(
childView
:
View
, targetView
:
null
|
View
, key
?:
string
)
:
void
Parameters
childView:
View
targetView:
null
|
View
Optional
key:
string
Returns
void
insert
Child
View
Controller
insert
Child
View
Controller
(
childViewController
:
ViewController
<
View
>
, targetViewController
:
null
|
View
|
ViewController
<
View
>
, key
?:
string
)
:
void
Parameters
childViewController:
ViewController
<
View
>
targetViewController:
null
|
View
|
ViewController
<
View
>
Optional
key:
string
Returns
void
is
Culled
is
Culled
(
)
:
boolean
Returns
boolean
is
Displaying
is
Displaying
(
)
:
boolean
Returns
boolean
is
Mounted
is
Mounted
(
)
:
boolean
Returns
boolean
is
Powered
is
Powered
(
)
:
boolean
Returns
boolean
is
Processing
is
Processing
(
)
:
boolean
Returns
boolean
is
Traversing
is
Traversing
(
)
:
boolean
Returns
boolean
is
Updating
is
Updating
(
)
:
boolean
Returns
boolean
Protected
on
Set
View
on
Set
View
(
view
:
null
|
V
)
:
void
Parameters
view:
null
|
V
Returns
void
prepend
Child
Node
prepend
Child
Node
(
childNode
:
Node
, key
?:
string
)
:
void
Parameters
childNode:
Node
Optional
key:
string
Returns
void
prepend
Child
View
prepend
Child
View
(
childView
:
View
, key
?:
string
)
:
void
Parameters
childView:
View
Optional
key:
string
Returns
void
prepend
Child
View
Controller
prepend
Child
View
Controller
(
childViewController
:
ViewController
<
View
>
, key
?:
string
)
:
void
Parameters
childViewController:
ViewController
<
View
>
Optional
key:
string
Returns
void
remove
remove
(
)
:
void
Returns
void
remove
All
remove
All
(
)
:
void
Returns
void
remove
Child
Node
remove
Child
Node
(
childNode
:
Node
)
:
void
Parameters
childNode:
Node
Returns
void
remove
Child
View
remove
Child
View
(
key
:
string
)
:
null
|
View
remove
Child
View
(
childView
:
View
)
:
void
Parameters
key:
string
Returns
null
|
View
Parameters
childView:
View
Returns
void
remove
Child
View
Controller
remove
Child
View
Controller
(
key
:
string
)
:
null
|
ViewController
<
View
>
remove
Child
View
Controller
(
childViewController
:
ViewController
<
View
>
)
:
void
Parameters
key:
string
Returns
null
|
ViewController
<
View
>
Parameters
childViewController:
ViewController
<
View
>
Returns
void
remove
Items
remove
Items
(
)
:
void
Returns
void
set
Child
View
set
Child
View
(
key
:
string
, newChildView
:
null
|
View
)
:
null
|
View
Parameters
key:
string
newChildView:
null
|
View
Returns
null
|
View
set
Child
View
Controller
set
Child
View
Controller
(
key
:
string
, newChildViewController
:
null
|
ViewController
<
View
>
)
:
null
|
ViewController
<
View
>
Parameters
key:
string
newChildViewController:
null
|
ViewController
<
View
>
Returns
null
|
ViewController
<
View
>
set
View
set
View
(
view
:
null
|
V
)
:
void
Parameters
view:
null
|
V
Returns
void
view
Did
Animate
view
Did
Animate
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Did
Apply
Theme
view
Did
Apply
Theme
(
theme
:
ThemeMatrix
, mood
:
MoodVector
<
Feel
>
, timing
:
boolean
|
Timing
, view
:
V
)
:
void
Parameters
theme:
ThemeMatrix
mood:
MoodVector
<
Feel
>
timing:
boolean
|
Timing
view:
V
Returns
void
view
Did
Change
view
Did
Change
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Did
Composite
view
Did
Composite
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Did
Cull
view
Did
Cull
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Insert
Child
Node
view
Did
Insert
Child
Node
(
childNode
:
Node
, targetNode
:
null
|
Node
, view
:
V
)
:
void
Parameters
childNode:
Node
targetNode:
null
|
Node
view:
V
Returns
void
view
Did
Insert
Child
View
view
Did
Insert
Child
View
(
childView
:
View
, targetView
:
null
|
View
, view
:
V
)
:
void
Parameters
childView:
View
targetView:
null
|
View
view:
V
Returns
void
view
Did
Layout
view
Did
Layout
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Did
Mount
view
Did
Mount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Power
view
Did
Power
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Project
view
Did
Project
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Did
Rasterize
view
Did
Rasterize
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Did
Remove
Child
Node
view
Did
Remove
Child
Node
(
childNode
:
Node
, view
:
V
)
:
void
Parameters
childNode:
Node
view:
V
Returns
void
view
Did
Remove
Child
View
view
Did
Remove
Child
View
(
childView
:
View
, view
:
V
)
:
void
Parameters
childView:
View
view:
V
Returns
void
view
Did
Render
view
Did
Render
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Did
Resize
view
Did
Resize
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Did
Scroll
view
Did
Scroll
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Did
Set
Attribute
view
Did
Set
Attribute
(
name
:
string
, value
:
unknown
, view
:
V
)
:
void
Parameters
name:
string
value:
unknown
view:
V
Returns
void
view
Did
Set
Parent
View
view
Did
Set
Parent
View
(
newParentView
:
null
|
View
, oldParentView
:
null
|
View
, view
:
V
)
:
void
Parameters
newParentView:
null
|
View
oldParentView:
null
|
View
view:
V
Returns
void
view
Did
Set
Style
view
Did
Set
Style
(
name
:
string
, value
:
unknown
, priority
:
undefined
|
string
, view
:
V
)
:
void
Parameters
name:
string
value:
unknown
priority:
undefined
|
string
view:
V
Returns
void
view
Did
Uncull
view
Did
Uncull
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Unmount
view
Did
Unmount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Did
Unpower
view
Did
Unpower
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Animate
view
Will
Animate
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Will
Apply
Theme
view
Will
Apply
Theme
(
theme
:
ThemeMatrix
, mood
:
MoodVector
<
Feel
>
, timing
:
boolean
|
Timing
, view
:
V
)
:
void
Parameters
theme:
ThemeMatrix
mood:
MoodVector
<
Feel
>
timing:
boolean
|
Timing
view:
V
Returns
void
view
Will
Change
view
Will
Change
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Will
Composite
view
Will
Composite
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Will
Cull
view
Will
Cull
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Insert
Child
Node
view
Will
Insert
Child
Node
(
childNode
:
Node
, targetNode
:
null
|
Node
, view
:
V
)
:
void
Parameters
childNode:
Node
targetNode:
null
|
Node
view:
V
Returns
void
view
Will
Insert
Child
View
view
Will
Insert
Child
View
(
childView
:
View
, targetView
:
null
|
View
, view
:
V
)
:
void
Parameters
childView:
View
targetView:
null
|
View
view:
V
Returns
void
view
Will
Layout
view
Will
Layout
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Will
Mount
view
Will
Mount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Power
view
Will
Power
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Project
view
Will
Project
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Will
Rasterize
view
Will
Rasterize
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Will
Remove
Child
Node
view
Will
Remove
Child
Node
(
childNode
:
Node
, view
:
V
)
:
void
Parameters
childNode:
Node
view:
V
Returns
void
view
Will
Remove
Child
View
view
Will
Remove
Child
View
(
childView
:
View
, view
:
V
)
:
void
Parameters
childView:
View
view:
V
Returns
void
view
Will
Render
view
Will
Render
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Will
Resize
view
Will
Resize
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Will
Scroll
view
Will
Scroll
(
viewContext
:
ViewContextType
<
V
>
, view
:
V
)
:
void
Parameters
viewContext:
ViewContextType
<
V
>
view:
V
Returns
void
view
Will
Set
Attribute
view
Will
Set
Attribute
(
name
:
string
, value
:
unknown
, view
:
V
)
:
void
Parameters
name:
string
value:
unknown
view:
V
Returns
void
view
Will
Set
Parent
View
view
Will
Set
Parent
View
(
newParentView
:
null
|
View
, oldParentView
:
null
|
View
, view
:
V
)
:
void
Parameters
newParentView:
null
|
View
oldParentView:
null
|
View
view:
V
Returns
void
view
Will
Set
Style
view
Will
Set
Style
(
name
:
string
, value
:
unknown
, priority
:
undefined
|
string
, view
:
V
)
:
void
Parameters
name:
string
value:
unknown
priority:
undefined
|
string
view:
V
Returns
void
view
Will
Uncull
view
Will
Uncull
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Unmount
view
Will
Unmount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Unpower
view
Will
Unpower
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
will
Set
View
will
Set
View
(
view
:
null
|
V
)
:
void
Parameters
view:
null
|
V
Returns
void
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/ux
@swim/button
@swim/token
@swim/grid
@swim/window
@swim/deck
@swim/vis
@swim/maps
Button
Glow
Button
Item
Button
Membrane
Button
Stack
Button
Stack
Controller
constructor
view
button
child
View
Controllers
child
View
Count
child
Views
items
key
node
parent
View
parent
View
Controller
stack
State
view
Context
view
Idiom
viewport
append
Child
Node
append
Child
View
append
Child
View
Controller
button
Stack
Did
Collapse
button
Stack
Did
Expand
button
Stack
Did
Hide
button
Stack
Did
Show
button
Stack
Will
Collapse
button
Stack
Will
Expand
button
Stack
Will
Hide
button
Stack
Will
Show
did
Set
View
get
Base
View
get
Child
View
get
Child
View
Controller
get
Super
View
insert
Child
Node
insert
Child
View
insert
Child
View
Controller
is
Culled
is
Displaying
is
Mounted
is
Powered
is
Processing
is
Traversing
is
Updating
on
Set
View
prepend
Child
Node
prepend
Child
View
prepend
Child
View
Controller
remove
remove
All
remove
Child
Node
remove
Child
View
remove
Child
View
Controller
remove
Items
set
Child
View
set
Child
View
Controller
set
View
view
Did
Animate
view
Did
Apply
Theme
view
Did
Change
view
Did
Composite
view
Did
Cull
view
Did
Insert
Child
Node
view
Did
Insert
Child
View
view
Did
Layout
view
Did
Mount
view
Did
Power
view
Did
Project
view
Did
Rasterize
view
Did
Remove
Child
Node
view
Did
Remove
Child
View
view
Did
Render
view
Did
Resize
view
Did
Scroll
view
Did
Set
Attribute
view
Did
Set
Parent
View
view
Did
Set
Style
view
Did
Uncull
view
Did
Unmount
view
Did
Unpower
view
Will
Animate
view
Will
Apply
Theme
view
Will
Change
view
Will
Composite
view
Will
Cull
view
Will
Insert
Child
Node
view
Will
Insert
Child
View
view
Will
Layout
view
Will
Mount
view
Will
Power
view
Will
Project
view
Will
Rasterize
view
Will
Remove
Child
Node
view
Will
Remove
Child
View
view
Will
Render
view
Will
Resize
view
Will
Scroll
view
Will
Set
Attribute
view
Will
Set
Parent
View
view
Will
Set
Style
view
Will
Uncull
view
Will
Unmount
view
Will
Unpower
will
Set
View
Disclosure
Button
Floating
Button
Icon
Button
Button
Membrane
Init
Button
Observer
Button
Stack
Observer
Button
Glow
State
Button
Stack
State
Floating
Button
Type
Generated using
TypeDoc