Skip to content

Menu.isInside method

Menu › isInside

Unofficial

Check whether the clicked element is inside the menu.

Signature:

isInside(e: HTMLElement): boolean

Parameters:

Parameter Type Description
e HTMLElement The element to check.

Returns: booleanWhether the element is inside the menu.