MCPcopy Create free account
hub / github.com/angular/components / setHasFocus

Method setHasFocus

src/cdk/menu/menu-stack.ts:203–205  ·  view source on GitHub ↗

Sets whether the menu stack contains the focused element.

(hasFocus: boolean)

Source from the content-addressed store, hash-verified

201
202 /** Sets whether the menu stack contains the focused element. */
203 setHasFocus(hasFocus: boolean) {
204 this._hasFocus.next(hasFocus);
205 }
206}

Callers 1

_setHasFocusMethod · 0.80

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected