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

Method sort

src/material/table/table-data-source.ts:110–112  ·  view source on GitHub ↗

* Instance of the MatSort directive used by the table to control its sorting. Sort changes * emitted by the MatSort will trigger an update to the table's rendered data.

()

Source from the content-addressed store, hash-verified

108 * emitted by the MatSort will trigger an update to the table's rendered data.
109 */
110 get sort(): MatSort | null | undefined {
111 return this._sort;
112 }
113
114 set sort(sort: MatSort | null | undefined) {
115 this._sort = sort;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected