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

Method _markForCheck

src/material/list/list-option.ts:293–295  ·  view source on GitHub ↗

* Notifies Angular that the option needs to be checked in the next change detection run. * Mainly used to trigger an update of the list option if the disabled state of the selection * list changed.

()

Source from the content-addressed store, hash-verified

291 * list changed.
292 */
293 _markForCheck() {
294 this._changeDetectorRef.markForCheck();
295 }
296
297 /** Toggles the option's value based on a user interaction. */
298 _toggleOnInteraction() {

Callers 1

_markOptionsForCheckMethod · 0.45

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected