React Menu - showSubmenuMode

Specifies properties of submenu showing and hiding.

Selector: ShowSubmenuMode
Type:

Object

|

String

Default Value: { name: 'onHover', delay: { show: 50, hide: 300 } }
Accepted Values: 'onClick' | 'onHover'

By default, the secondary-level submenus of the Menu UI component are displayed on the same event as the first-level submenu. To set another event for displaying secondary-level submenus, use the showSubmenuMode property. Alternatively, you can change the event on which the first-level submenu is displayed. For this purpose, use the showFirstSubmenuMode property.

delay

Specifies the delay of submenu show and hiding.

Selector: Delay
Type:

Object

|

Number

Default Value: { show: 50, hide: 300 }

name

Specifies the mode name.

Type:

String

Default Value: 'onHover'
Accepted Values: 'onClick' | 'onHover'