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

Method _getOwnDefs

src/cdk/table/table.ts:1579–1581  ·  view source on GitHub ↗

Filters definitions that belong to this table from a QueryList.

(items: QueryList<I>)

Source from the content-addressed store, hash-verified

1577
1578 /** Filters definitions that belong to this table from a QueryList. */
1579 private _getOwnDefs<I extends {_table?: any}>(items: QueryList<I>): I[] {
1580 return items.filter(item => !item._table || item._table === this);
1581 }
1582
1583 /** Creates or removes the no data row, depending on whether any data is being shown. */
1584 private _updateNoDataRow() {

Callers 2

_cacheColumnDefsMethod · 0.95
_cacheRowDefsMethod · 0.95

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected