\TbButtonGroup

## Bootstrap button group widget.

Summary

Methods
Properties
Constants
init()
run()
$buttonType
$context
$justified
$size
$encodeLabel
$htmlOptions
$buttons
$toggle
$stacked
$dropup
$disabled
TOGGLE_CHECKBOX
TOGGLE_RADIO
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

TOGGLE_CHECKBOX

TOGGLE_CHECKBOX

TOGGLE_RADIO

TOGGLE_RADIO

Properties

$buttonType

$buttonType : string

Type

string — the button callback type.

$context

$context : string

Type

string — the button type.

$justified

$justified : boolean

Type

boolean — indicates whether to use justified button groups

$size

$size : string

Type

string — the button size.

$encodeLabel

$encodeLabel : boolean

Type

boolean — indicates whether to encode the button labels.

$htmlOptions

$htmlOptions : array

Type

array — the HTML attributes for the widget container.

$buttons

$buttons : array

Type

array — the button configuration.

$toggle

$toggle : boolean

Type

boolean — indicates whether to enable button toggling.

$stacked

$stacked : boolean

Type

boolean — indicates whether the button group appears vertically stacked. Defaults to 'false'.

$dropup

$dropup : boolean

Type

boolean — indicates whether dropdowns should be dropups instead. Defaults to 'false'.

$disabled

$disabled : boolean

Type

boolean — indicates whether button is disabled or not. Defaults to 'false'.

Methods

init()

init()

### .init()

Initializes the widget.

run()

run()

### .run()

Runs the widget.