New to Kendo UI for jQuery? Download free 30-day trial

\Kendo\UI\ActionSheetItem

A PHP class representing the item setting of ActionSheetItems.

Methods

click

Specifies the click event handler of the item.

Returns

\Kendo\UI\ActionSheetItem

Parameters

$value \Kendo\JavaScriptFunction

Example

<?php
$item = new \Kendo\UI\ActionSheetItem();
$item->click(new \Kendo\JavaScriptFunction('function() { }'));
?>

description

Specifies the description of the item.

Returns

\Kendo\UI\ActionSheetItem

Parameters

$value string

Example

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

disabled

If set to true, the item will be disabled.

Returns

\Kendo\UI\ActionSheetItem

Parameters

$value boolean

Example

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

group

Specifies the group of the item. Items can be segregated in two groups - top and bottom.

Returns

\Kendo\UI\ActionSheetItem

Parameters

$value string

Example

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

icon

Specifies the icon's name of the item.

Returns

\Kendo\UI\ActionSheetItem

Parameters

$value string

Example

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

iconClass

Specifies the icon's class of the item.

Returns

\Kendo\UI\ActionSheetItem

Parameters

$value string

Example

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

iconColor

The icon color. Available options are inherit, default, primary, secondary, tertiary, info, success, warning, error, dark, light, inverted or any hexadecimal value.

Returns

\Kendo\UI\ActionSheetItem

Parameters

$value string

Example

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

iconSize

The icon size in pixels.

Returns

\Kendo\UI\ActionSheetItem

Parameters

$value float

Example

<?php
$item = new \Kendo\UI\ActionSheetItem();
$item->iconSize(1);
?>

text

Specifies the main text of the item

Returns

\Kendo\UI\ActionSheetItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\ActionSheetItem();
$item->text('value');
?>
In this article