Skip to main content
cngx-src documentation

withSubmenuCloseDelay

Functioncommon/interactive/menu

projects/common/interactive/menu/menu-config-features.ts

Description#

Override the hover dwell (milliseconds) before a hover-opened submenu closes after the pointer has left both the parent item and the submenu popover. Feeds the leave delay of the hover intent CngxMenuItemSubmenu composes - the grace window for crossing the gap between parent and popover. Default: 150.

Signature#

withSubmenuCloseDelay(ms: number)

Parameters#

@parammsnumber

Returns#

CngxMenuConfigFeature