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

Method value

src/cdk/listbox/listbox.ts:289–291  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287 /** The value selected in the listbox, represented as an array of option values. */
288 @Input('cdkListboxValue')
289 get value(): readonly T[] {
290 return this._invalid ? [] : this.selectionModel.selected;
291 }
292 set value(value: readonly T[]) {
293 this._setSelection(value);
294 }

Callers

nothing calls this directly

Calls 1

_setSelectionMethod · 0.95

Tested by

no test coverage detected