navigationType
Optional. Defines the action that opens menu options
navigationType?: "pointer" | "click";
Default value: "click"Example
menu.config.navigationType = "pointer";
menu.paint();
Related sample: Menu. Navigation type. Click or pointer (hover)
There are two types of navigation:
- "pointer" - the menu is opened when a user hovers the mouse pointer over it
- "click" - the menu is opened when a user clicks on it (used for mobile devices)