MCPcopy
hub / github.com/angular/components / closeOpenSiblings

Method closeOpenSiblings

src/cdk/menu/menu-item.ts:288–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

286 private _setupMouseEnter() {
287 if (!this._isStandaloneItem()) {
288 const closeOpenSiblings = () =>
289 this._ngZone.run(() => this._menuStack.closeSubMenuOf(this._parentMenu!));
290
291 this._cleanupMouseEnter = this._ngZone.runOutsideAngular(() =>
292 this._renderer.listen(this._elementRef.nativeElement, 'mouseenter', () => {

Callers

nothing calls this directly

Calls 1

closeSubMenuOfMethod · 0.80

Tested by

no test coverage detected