Specifies the delay in submenu showing and hiding.
Object
Number
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.
//number delay: 300 //object delay: { show: 300, hide: 300 }
The time span after which the submenu is hidden.
The time span after which the submenu is shown.