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

Method destroy

src/cdk/table/sticky-styler.ts:337–344  ·  view source on GitHub ↗

Triggered by the table's OnDestroy hook.

()

Source from the content-addressed store, hash-verified

335
336 /** Triggered by the table's OnDestroy hook. */
337 destroy() {
338 if (this._stickyColumnsReplayTimeout) {
339 clearTimeout(this._stickyColumnsReplayTimeout);
340 }
341
342 this._resizeObserver?.disconnect();
343 this._destroyed = true;
344 }
345
346 /**
347 * Removes the sticky style on the element by removing the sticky cell CSS class, re-evaluating

Callers

nothing calls this directly

Calls 1

disconnectMethod · 0.45

Tested by

no test coverage detected