\Kendo\UI\ContextMenuScrollable

A PHP class representing the scrollable setting of ContextMenu.

Methods

distance

Sets the scroll amount (in pixels) that the ContextMenu scrolls when the scroll buttons are hovered. Each such distance is animated and then another animation starts with the same distance. If clicking a scroll button, the ContextMenu scrolls by doubling the distance.

Returns

\Kendo\UI\ContextMenuScrollable

Parameters

$value float

Example

<?php
$scrollable = new \Kendo\UI\ContextMenuScrollable();
$scrollable->distance(1);
?>
In this article
Not finding the help you need?