\Kendo\UI\EditorResizable
A PHP class representing the resizable setting of Editor.
Methods
content
Sets the HTML content of the EditorResizable.
Returns
EditorResizable
$value string
Example
<?php
$resizable = new \Kendo\UI\EditorResizable();
$resizable->content('<strong>Content</strong>');
?>
max
The maximum height that the editor can be resized to. If set to an object the user can restrict both max width and height values.
Returns
\Kendo\UI\EditorResizable
Parameters
$value float|\Kendo\UI\EditorResizableMax|array
Example - using float
<?php
$resizable = new \Kendo\UI\EditorResizable();
$resizable->max(1);
?>
Example - using \Kendo\UI\EditorResizableMax
<?php
$resizable = new \Kendo\UI\EditorResizable();
$max = new \Kendo\UI\EditorResizableMax();
$maxHeight = 1;
$max->maxHeight($maxHeight);
$resizable->max($max);
?>
Example - using array
<?php
$resizable = new \Kendo\UI\EditorResizable();
$maxHeight = 1;
$resizable->max(array('maxHeight' => $maxHeight));
?>
min
The minimum height that the editor can be resized to. If set to an object the user can restrict both min width and height values.
Returns
\Kendo\UI\EditorResizable
Parameters
$value float|\Kendo\UI\EditorResizableMin|array
Example - using float
<?php
$resizable = new \Kendo\UI\EditorResizable();
$resizable->min(1);
?>
Example - using \Kendo\UI\EditorResizableMin
<?php
$resizable = new \Kendo\UI\EditorResizable();
$min = new \Kendo\UI\EditorResizableMin();
$minHeight = 1;
$min->minHeight($minHeight);
$resizable->min($min);
?>
Example - using array
<?php
$resizable = new \Kendo\UI\EditorResizable();
$minHeight = 1;
$resizable->min(array('minHeight' => $minHeight));
?>
toolbar
If resizable is set to true the widget will detect changes in the viewport width and will hide the overflowing controls in the tool overflow popup.
Returns
\Kendo\UI\EditorResizable
Parameters
$value boolean
Example
<?php
$resizable = new \Kendo\UI\EditorResizable();
$resizable->toolbar(true);
?>