React Menu - showSubmenuMode

Specifies options of submenu showing and hiding.

Type:

Object

|

String

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

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

Use the ShowSubmenuMode enum to specify this option when the widget is used as an ASP.NET MVC Control. This enum accepts the following values: OnHover and OnClick.

delay

Specifies the delay of submenu show and hiding.

Type:

Object

|

Number

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

name

Specifies the mode name.

Type:

String

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

Use the ShowSubmenuMode enum to specify this option when the widget is used as an ASP.NET MVC Control. This enum accepts the following values: OnHover and OnClick.