Property | Type | Description | |
---|---|---|---|
$active | indicates whether the button is active. | ||
$ajaxOptions | the button ajax options (used by 'ajaxLink' and 'ajaxButton'). | ||
$block | indicates whether the button should span the full width of the a parent. | ||
$buttonType | the button callback types. Valid values are 'link', 'button', 'submit', 'submitLink', 'reset', 'ajaxLink', 'ajaxButton' and 'ajaxSubmit'. | ||
$completeText | the complete text. | ||
$disabled | indicates whether the button is disabled. | ||
$dropdownOptions | the HTML attributes for the dropdown menu. | ||
$encodeLabel | indicates whether to encode the label. | ||
$htmlOptions | the HTML attributes for the widget container. | ||
$icon | the button icon, e.g. 'ok' or 'remove white'. | ||
$items | the dropdown button items. | ||
$label | the button label. | ||
$loadingText | the loading text. | ||
$size | the button size. Valid values are 'large', 'small' and 'mini'. | ||
$toggle | indicates whether to enable toggle. | ||
$type | the button type. Valid values are 'primary', 'info', 'success', 'warning', 'danger' and 'inverse'. | ||
$url | the button URL. | ||
$visible | the button is visible or not |
Method | Description | |
---|---|---|
init ( ) | ### .init() | |
run ( ) | ### .run() |
Method | Description | |
---|---|---|
createButton ( ) : string | ### .createButton() | |
hasDropdown ( ) : boolean | ### .hasDropdown() |
protected createButton ( ) : string | ||
return | string | the created button. |
protected hasDropdown ( ) : boolean | ||
return | boolean | the result. |
public $ajaxOptions |
public $block |
public $buttonType |
public $dropdownOptions |
public $size |
public $type |