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

Method destroy

src/cdk/menu/pointer-focus-tracker.ts:52–55  ·  view source on GitHub ↗

Stop the managers listeners.

()

Source from the content-addressed store, hash-verified

50
51 /** Stop the managers listeners. */
52 destroy() {
53 this._cleanupEvents();
54 this._itemsSubscription?.unsubscribe();
55 }
56
57 /** Binds the enter/exit events on all the items. */
58 private _bindEvents() {

Callers

nothing calls this directly

Calls 1

_cleanupEventsMethod · 0.95

Tested by

no test coverage detected