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

Method _finalizeAnimation

src/material/tooltip/tooltip.ts:1134–1140  ·  view source on GitHub ↗

Handles the cleanup after an animation has finished.

(toVisible: boolean)

Source from the content-addressed store, hash-verified

1132
1133 /** Handles the cleanup after an animation has finished. */
1134 private _finalizeAnimation(toVisible: boolean) {
1135 if (toVisible) {
1136 this._closeOnInteraction = true;
1137 } else if (!this.isVisible()) {
1138 this._onHide.next();
1139 }
1140 }
1141
1142 /** Toggles the visibility of the tooltip element. */
1143 private _toggleVisibility(isVisible: boolean) {

Callers 3

_handleMouseLeaveMethod · 0.95
_handleAnimationEndMethod · 0.95
_toggleVisibilityMethod · 0.95

Calls 2

isVisibleMethod · 0.95
nextMethod · 0.45

Tested by

no test coverage detected