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

Method _markForCheck

src/material/radio/radio.ts:626–630  ·  view source on GitHub ↗

* Marks the radio button as needing checking for change detection. * This method is exposed because the parent radio group will directly * update bound properties of the radio button.

()

Source from the content-addressed store, hash-verified

624 * update bound properties of the radio button.
625 */
626 _markForCheck() {
627 // When group value changes, the button will not be notified. Use `markForCheck` to explicit
628 // update radio button's status
629 this._changeDetector.markForCheck();
630 }
631
632 ngOnInit() {
633 if (this.radioGroup) {

Callers 2

_markRadiosForCheckMethod · 0.45

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected