MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / close

Method close

core/src/components/menu/menu.tsx:391–393  ·  view source on GitHub ↗
(animated = true, role?: string)

Source from the content-addressed store, hash-verified

389 */
390 @Method()
391 close(animated = true, role?: string): Promise<boolean> {
392 return this.setOpen(false, animated, role);
393 }
394
395 /**
396 * Toggles the menu. If the menu is already open, it will try to close,

Callers 3

disconnectedCallbackMethod · 0.95
onBackdropClickMethod · 0.95
onKeydownMethod · 0.95

Calls 1

setOpenMethod · 0.95

Tested by

no test coverage detected