\Kendo\UI\AIPromptToolbarItem

A PHP class representing the toolbarItem setting of AIPromptToolbarItems.

Methods

click

The click event handler of the toolbar item.

Returns

\Kendo\UI\AIPromptToolbarItem

Parameters

$value \Kendo\JavaScriptFunction

Example

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

fillMode

Sets a value controlling how the color is applied.

Returns

\Kendo\UI\AIPromptToolbarItem

Parameters

$value string

Example

<?php
$toolbarItem = new \Kendo\UI\AIPromptToolbarItem();
$toolbarItem->fillMode('value');
?>

icon

The icon name of the toolbar item.

Returns

\Kendo\UI\AIPromptToolbarItem

Parameters

$value string

Example

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

rounded

Sets a value controlling the border radius.

Returns

\Kendo\UI\AIPromptToolbarItem

Parameters

$value string

Example

<?php
$toolbarItem = new \Kendo\UI\AIPromptToolbarItem();
$toolbarItem->rounded('value');
?>

themeColor

Sets the color according to the applied theme.

Returns

\Kendo\UI\AIPromptToolbarItem

Parameters

$value string

Example

<?php
$toolbarItem = new \Kendo\UI\AIPromptToolbarItem();
$toolbarItem->themeColor('value');
?>

type

Defines the type of the item.

Returns

\Kendo\UI\AIPromptToolbarItem

Parameters

$value string

Example

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