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

JavaScript/jQuery ContextMenu - showEvent

Specifies properties for displaying the UI component.

Type:

Object

|

String

Default Value: 'dxcontextmenu'

If you assign only a string that specifies event names on which the UI component is shown, the UI component will not apply any delay.

JavaScript
showEvent: "mouseenter"

delay

The delay in milliseconds after which the UI component is displayed.

Type:

Number

Default Value: undefined

name

Specifies the event names on which the UI component is shown.

Type:

String

Default Value: undefined

The property takes a string value representing a DOM event or a DevExtreme UI Event name. You can also pass several event names separated by a space. The DevExtreme and DOM events may be combined.

JavaScript
showEvent: {
    name: "dxdblclick keyup",
    delay: 70
}