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

Method _handleClick

src/cdk/menu/menu-trigger.ts:211–214  ·  view source on GitHub ↗

Handles clicks on the menu trigger.

()

Source from the content-addressed store, hash-verified

209
210 /** Handles clicks on the menu trigger. */
211 _handleClick() {
212 this.toggle();
213 this.childMenu?.focusFirstItem('mouse');
214 }
215
216 /**
217 * Sets whether the trigger's menu stack has focus.

Callers

nothing calls this directly

Calls 2

toggleMethod · 0.95
focusFirstItemMethod · 0.65

Tested by

no test coverage detected