Vue
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Menu - showSubmenuMode

Specifies properties 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 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.

Use the ShowSubmenuMode enum to specify this property when the UI component is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core 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 property when the UI component is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: OnHover and OnClick.