\Kendo\UI\WindowDraggable
A PHP class representing the draggable setting of Window.
Methods
axis
Constrains dragging to the horizontal (x) or to the vertical (y) axis.The supported values are: x or y.
Returns
\Kendo\UI\WindowDraggable
Parameters
$value string
Example
<?php
$draggable = new \Kendo\UI\WindowDraggable();
$draggable->axis('value');
?>
containment
Defines the element in which the window will be able to move. The window is appended to this element and in this way overrides the appendTo option. Accepts either a selector or an element.
Returns
\Kendo\UI\WindowDraggable
Parameters
$value string|
Example - using string
<?php
$draggable = new \Kendo\UI\WindowDraggable();
$draggable->containment('value');
?>
dragHandle
Restricts the dragging of the window through the specified element which will be part of the window content. Accepts either a selector or an element.
Returns
\Kendo\UI\WindowDraggable
Parameters
$value string
Example
<?php
$draggable = new \Kendo\UI\WindowDraggable();
$draggable->dragHandle('value');
?>