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

Method selectAll

src/material/list/selection-list.ts:217–219  ·  view source on GitHub ↗

Selects all of the options. Returns the options that changed as a result.

()

Source from the content-addressed store, hash-verified

215
216 /** Selects all of the options. Returns the options that changed as a result. */
217 selectAll(): MatListOption[] {
218 return this._setAllOptionsSelected(true);
219 }
220
221 /** Deselects all of the options. Returns the options that changed as a result. */
222 deselectAll(): MatListOption[] {

Callers 1

Calls 1

Tested by

no test coverage detected