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

Method selected

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

Selected values.

()

Source from the content-addressed store, hash-verified

26
27 /** Selected values. */
28 get selected(): T[] {
29 if (!this._selected) {
30 this._selected = Array.from(this._selection.values());
31 }
32
33 return this._selected;
34 }
35
36 /** Event emitted when the value has changed. */
37 readonly changed = new Subject<SelectionChange<T>>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected