\Kendo\UI\ButtonGroupItem

A PHP class representing the item setting of ButtonGroupItems.

Methods

attributes

Specifies the HTML attributes of a ButtonGroup item.

Returns

\Kendo\UI\ButtonGroupItem

Parameters

$value ``

badge

Specifies the badge of a button.

Returns

\Kendo\UI\ButtonGroupItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\ButtonGroupItem();
$item->badge('value');
?>

enabled

Specifies if a button is enabled.

Returns

\Kendo\UI\ButtonGroupItem

Parameters

$value boolean

Example

<?php
$item = new \Kendo\UI\ButtonGroupItem();
$item->enabled(true);
?>

icon

If set, the ButtonGroup will render an icon in the button.

Returns

\Kendo\UI\ButtonGroupItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\ButtonGroupItem();
$item->icon('value');
?>

imageUrl

If set, the ButtonGroup will render an image with the specified URL in the button.

Returns

\Kendo\UI\ButtonGroupItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\ButtonGroupItem();
$item->imageUrl('value');
?>

selected

Specifies if a button is initially selected.

Returns

\Kendo\UI\ButtonGroupItem

Parameters

$value boolean

Example

<?php
$item = new \Kendo\UI\ButtonGroupItem();
$item->selected(true);
?>

text

Specifies the text of the ButtonGroup item.

Returns

\Kendo\UI\ButtonGroupItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\ButtonGroupItem();
$item->text('value');
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy