\Kendo\UI\EditorToolItem

A PHP class representing the item setting of EditorToolItems.

Methods

context

Only applicable for the formatting tool. Specifies the context in which the option will be available.

Returns

\Kendo\UI\EditorToolItem

Parameters

$value string

Example

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

text

The string that the popup item will show.

Returns

\Kendo\UI\EditorToolItem

Parameters

$value string

Example

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

value

The value that will be applied by the tool when this item is selected.

Returns

\Kendo\UI\EditorToolItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\EditorToolItem();
$item->value('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