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

Method _onAnimationStart

src/material/menu/menu.ts:470–474  ·  view source on GitHub ↗
(state: string)

Source from the content-addressed store, hash-verified

468 }
469
470 protected _onAnimationStart(state: string) {
471 if (state === ENTER_ANIMATION || state === EXIT_ANIMATION) {
472 this._isAnimating.set(true);
473 }
474 }
475
476 _setIsOpen(isOpen: boolean) {
477 this._panelAnimationState = isOpen ? 'enter' : 'void';

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected