JavaScript/jQuery ContextMenu - showEvent

Specifies properties used to display 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 a delay.

JavaScript
showEvent: "mouseenter"

Assign "" (an empty string) to showEvent if you want to display the component only through code (for instance, by calling the show() method).

delay

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

Type:

Number

| undefined
Default Value: undefined

name

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

Type:

String

| undefined
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
}