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