* Unregister function to be used by the contained MatSortables. Removes the MatSortable from the * collection of contained MatSortables.
(sortable: MatSortable)
| 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 { |