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

Method _deselect

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

Deselects an array of values.

(values: T[])

Source from the content-addressed store, hash-verified

168
169 /** Deselects an array of values. */
170 private _deselect(values: T[]) {
171 this._verifyValueAssignment(values);
172 values.forEach(value => this._unmarkSelected(value));
173 const changed = this._hasQueuedChanges();
174 this._emitChangeEvent();
175 return changed;
176 }
177
178 /** Sets the current selection from an array of items. */
179 private _setSelection(values: T[]) {

Callers 2

SelectionModelClass · 0.95
deselectMethod · 0.95

Calls 4

_unmarkSelectedMethod · 0.95
_hasQueuedChangesMethod · 0.95
_emitChangeEventMethod · 0.95

Tested by

no test coverage detected