I looked at the demo at https://demos.telerik.com/kendo-ui/menu/orientation.
The code for this demo included the following line of code.
- Why is this line of code necessary ?
- What is the need of passing the parameter $("#myMenu .k-link") to the close method? I thought we could simply call the close method without any parameters and that would close the menu.
menu.data("kendoMenu").close($("#myMenu .k-link"));