A.ButtonGroup Class
Module: aui-button
A base class for ButtonGroup.
Constructor
A.ButtonGroup
()
Index
Methods
_afterSelectionChange
()
protected
Fires after 'selectionChange' event.
initializer
()
protected
Constructor for A.ButtonGroup
. Lifecycle.
renderUI
()
protected
Renders the ButtonGroup
component instance. Lifecycle.
select
(
-
items
Selects items by adding the active class name.
Parameters:
-
items
Array
syncAriaSelected
(
-
buttons
Updates the 'aria-selected' attribute on all buttons.
Parameters:
-
buttons
Array
toggleSelect
(
-
items
-
forceSelection
Toggles selection by adding or removing the active class name.
Parameters:
-
items
Array -
forceSelection
BooleanWhether selection should be forced.
unselect
(
-
items
Selects items by adding the active class name.
Parameters:
-
items
Array