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

Method unregister

src/aria/private/utils/collection.ts:33–38  ·  view source on GitHub ↗
(item: T)

Source from the content-addressed store, hash-verified

31 }
32
33 unregister(item: T) {
34 if (this._items.has(item)) {
35 this._items.delete(item);
36 this._sortedItems.set(this._getSortedItems());
37 }
38 }
39
40 startObserving(element: HTMLElement) {
41 this.stopObserving();

Callers 11

ngOnDestroyMethod · 0.80
constructorMethod · 0.80
ngOnDestroyMethod · 0.80
ngOnDestroyMethod · 0.80
ngOnDestroyMethod · 0.80
ngOnDestroyMethod · 0.80
ngOnDestroyMethod · 0.80
ngOnDestroyMethod · 0.80
ngOnDestroyMethod · 0.80
constructorMethod · 0.80
unregisterServiceWorkersFunction · 0.80

Calls 3

_getSortedItemsMethod · 0.95
setMethod · 0.80
deleteMethod · 0.65

Tested by 1

ngOnDestroyMethod · 0.64