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

Method toggle

core/src/components/menu/menu.tsx:405–407  ·  view source on GitHub ↗
(animated = true)

Source from the content-addressed store, hash-verified

403 */
404 @Method()
405 toggle(animated = true): Promise<boolean> {
406 return this.setOpen(!this._isOpen, animated);
407 }
408
409 /**
410 * Opens or closes the menu.

Callers

nothing calls this directly

Calls 1

setOpenMethod · 0.95

Tested by

no test coverage detected