OpenOnClickSettings

The settings for the openOnClick option.

toggle "select" | "leave" | "click" (default: 'select')

Specifies the way in which you can toggle the open-on-click behavior.

The supported values are:

  • "select"—The user opens an item with a click and the Menu items open on hover until one of them is selected.
  • "leave"—The user opens an item with a click and the Menu items open on hover until either one of them is selected, or the mouse pointer leaves the Menu and the predefined delay passes.
  • "click"—The user opens an item with a click and the Menu items open on hover but do not close when the mouse pointer leaves the Menu. To close the items, the user has to either select an item, or click a random place on the page.