Skip to main content

navigationType

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

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)