\Kendo\UI\MenuOpenOnClick

A PHP class representing the openOnClick setting of Menu.

Methods

rootMenuItems

Specifies that the root menus will be opened only on item click.

Returns

\Kendo\UI\MenuOpenOnClick

Parameters

$value boolean

Example

<?php
$openOnClick = new \Kendo\UI\MenuOpenOnClick();
$openOnClick->rootMenuItems(true);
?>

Specifies that the sub menus will be opened only on item click.

Returns

\Kendo\UI\MenuOpenOnClick

Parameters

$value boolean

Example

<?php
$openOnClick = new \Kendo\UI\MenuOpenOnClick();
$openOnClick->subMenuItems(true);
?>
In this article
Not finding the help you need?