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

Method deselectAll

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

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

()

Source from the content-addressed store, hash-verified

220
221 /** Deselects all of the options. Returns the options that changed as a result. */
222 deselectAll(): MatListOption[] {
223 return this._setAllOptionsSelected(false);
224 }
225
226 /** Reports a value change to the ControlValueAccessor */
227 _reportValueChange() {

Callers 1

Calls 1

Tested by

no test coverage detected