\Kendo\UI\AIPromptViewPromptCommand

A PHP class representing the promptCommand setting of AIPromptViewPromptCommands.

Methods

icon

The icon name of the command item.

Returns

\Kendo\UI\AIPromptViewPromptCommand

Parameters

$value string

Example

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

id

The id of the command item.

Returns

\Kendo\UI\AIPromptViewPromptCommand

Parameters

$value string

Example

<?php
$promptCommand = new \Kendo\UI\AIPromptViewPromptCommand();
$promptCommand->id('value');
?>

text

The text of the command item.

Returns

\Kendo\UI\AIPromptViewPromptCommand

Parameters

$value string

Example

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