onClose( )


Adds an event handler that is triggered when the menu container is closed.

Adds an event handler that is triggered when the hamburger menu container is closed.

Method Declaration
Copy
Method Parameters
handlerfunctionRequired

handler(event: Event): void The name of the function or the function expression to run when the element is closed.

Was this helpful?
Yes
No