\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);
?>

subMenuItems

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);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy