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

Method deregister

src/material/sort/sort.ts:156–158  ·  view source on GitHub ↗

* Unregister function to be used by the contained MatSortables. Removes the MatSortable from the * collection of contained MatSortables.

(sortable: MatSortable)

Source from the content-addressed store, hash-verified

154 * collection of contained MatSortables.
155 */
156 deregister(sortable: MatSortable): void {
157 this.sortables.delete(sortable.id);
158 }
159
160 /** Sets the active sort id and determines the new sort direction. */
161 sort(sortable: MatSortable): void {

Callers 1

ngOnDestroyMethod · 0.45

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected