JavaScript/jQuery 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.

When using the widget as an ASP.NET MVC Control, you can specify this option using the ShowSubmenuMode enum. 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'

When using the widget as an ASP.NET MVC Control, specify this option using the ShowSubmenuMode enum. This enum accepts the following values: OnHover and OnClick.