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

Method _handleAnimationEnd

src/material/timepicker/timepicker.ts:345–349  ·  view source on GitHub ↗

Handles animation events coming from the panel.

(event: AnimationEvent)

Source from the content-addressed store, hash-verified

343
344 /** Handles animation events coming from the panel. */
345 protected _handleAnimationEnd(event: AnimationEvent) {
346 if (event.animationName === '_mat-timepicker-exit') {
347 this._overlayRef?.detach();
348 }
349 }
350
351 /** Creates an overlay reference for the timepicker panel. */
352 private _getOverlayRef(): OverlayRef {

Callers

nothing calls this directly

Calls 1

detachMethod · 0.65

Tested by

no test coverage detected