Search.../

close( )

Closes the hamburger menu container.

Description

The close() function returns a Promise that is resolved when the hamburger menu's container has finished closing.

Syntax

function close(): Promise<void>

close Parameters

This function does not take any parameters.

Returns

Return Type:

Promise<void>

Related Content:

Was this helpful?

Closes the hamburger menu container

Copy Code
1$w("#myMenuContainer").close();