MCPcopy Index your code
hub / github.com/angular/components / setSelection

Method setSelection

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

* Sets the selected values * @param values The new selected values * @return Whether the selection changed as a result of this call

(...values: T[])

Source from the content-addressed store, hash-verified

93 * @return Whether the selection changed as a result of this call
94 */
95 setSelection(...values: T[]): boolean {
96 return this._setSelection(values);
97 }
98
99 /**
100 * Toggles a value between selected and deselected.

Callers 4

selection.spec.tsFile · 0.80
selectMethod · 0.80
triggerRangeMethod · 0.80
_setSelectionMethod · 0.80

Calls 1

_setSelectionMethod · 0.95

Tested by

no test coverage detected