\Kendo\UI\FloatingActionButtonItem

A PHP class representing the item setting of FloatingActionButtonItems.

Methods

click

Specifies the click event handler of the speed-dial item.

Returns

\Kendo\UI\FloatingActionButtonItem

Parameters

$value \Kendo\JavaScriptFunction

Example

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

cssClass

Specifies a set of CSS classes for the speed-dial item.

Returns

\Kendo\UI\FloatingActionButtonItem

Parameters

$value string

Example

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

enabled

Specifies whether the Item is enabled or not. By default all items are enabled.

Returns

\Kendo\UI\FloatingActionButtonItem

Parameters

$value boolean

Example

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

icon

Specifies the name for an existing icon in a Kendo UI theme that is rendered in the speed-dial item.See the Web Font Icons help article for more details on Kendo UI icons.

Returns

\Kendo\UI\FloatingActionButtonItem

Parameters

$value string

Example

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

label

Specifies the label for the speed-dial item.

Returns

\Kendo\UI\FloatingActionButtonItem

Parameters

$value string

Example

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

template

Specifies the template used to render the contents of the speed-dial item.The fields which can be used inside the template are: text String - the label of the item (if configured). or icon String - the icon specified for this step (if configured)..

Returns

\Kendo\UI\FloatingActionButtonItem

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

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

title

Specifies the label for the speed-dial item that will be read by assistive technologies.

Returns

\Kendo\UI\FloatingActionButtonItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\FloatingActionButtonItem();
$item->title('value');
?>
In this article
Not finding the help you need?