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

Method ngOnDestroy

src/material/tooltip/tooltip.ts:1061–1065  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1059 }
1060
1061 ngOnDestroy() {
1062 this._cancelPendingAnimations();
1063 this._onHide.complete();
1064 this._triggerElement = null!;
1065 }
1066
1067 /**
1068 * Interactions on the HTML body should close the tooltip immediately as defined in the

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected