delay

Specifies the delay in submenu showing and hiding.

Type:

Object

|

Number

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

Passing a number to this option is the same as passing an object whose show and hide fields hold equal values. For example, the following ways to specify the delay are identical.

JavaScript
//number
delay: 300

//object
delay: {
    show: 300,
    hide: 300
}

hide

The time span after which the submenu is hidden.

Type:

Number

Default Value: 300

show

The time span after which the submenu is shown.

Type:

Number

Default Value: 50