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

Method register

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

Source from the content-addressed store, hash-verified

28 });
29
30 register(item: T) {
31 this._items.update(set => {
32 const newSet = new Set(set);
33 newSet.add(item);
34 return newSet;
35 });
36 }
37
38 unregister(item: T) {
39 this._items.update(set => {

Callers 10

ngOnInitMethod · 0.45
ngOnInitMethod · 0.45
ngOnInitMethod · 0.45
ngOnInitMethod · 0.45
ngOnInitMethod · 0.45
constructorMethod · 0.45
ngOnInitMethod · 0.45
ngOnInitMethod · 0.45
ngOnInitMethod · 0.45
ngOnInitMethod · 0.45

Calls 2

updateMethod · 0.65
addMethod · 0.45

Tested by 1

constructorMethod · 0.36