MCPcopy
hub / github.com/angular/components / _select

Method _select

src/cdk/collections/selection-model.ts:161–167  ·  view source on GitHub ↗

Selects an array of values.

(values: T[])

Source from the content-addressed store, hash-verified

159
160 /** Selects an array of values. */
161 private _select(values: T[]) {
162 this._verifyValueAssignment(values);
163 values.forEach(value => this._markSelected(value));
164 const changed = this._hasQueuedChanges();
165 this._emitChangeEvent();
166 return changed;
167 }
168
169 /** Deselects an array of values. */
170 private _deselect(values: T[]) {

Callers 4

SelectionModelClass · 0.95
selectMethod · 0.95
setPageSizeMethod · 0.80
getPageSizeMethod · 0.80

Calls 4

_markSelectedMethod · 0.95
_hasQueuedChangesMethod · 0.95
_emitChangeEventMethod · 0.95

Tested by

no test coverage detected