MCPcopy Index your code
hub / github.com/angular/components / toggle

Method toggle

src/material/select/select.ts:718–720  ·  view source on GitHub ↗

Toggles the overlay panel open or closed.

()

Source from the content-addressed store, hash-verified

716
717 /** Toggles the overlay panel open or closed. */
718 toggle(): void {
719 this.panelOpen ? this.close() : this.open();
720 }
721
722 /** Opens the overlay panel. */
723 open(): void {

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
openMethod · 0.95

Tested by

no test coverage detected