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

Method setDisabledState

src/material/radio/radio.ts:369–372  ·  view source on GitHub ↗

* Sets the disabled state of the control. Implemented as a part of ControlValueAccessor. * @param isDisabled Whether the control should be disabled.

(isDisabled: boolean)

Source from the content-addressed store, hash-verified

367 * @param isDisabled Whether the control should be disabled.
368 */
369 setDisabledState(isDisabled: boolean) {
370 this.disabled = isDisabled;
371 this._changeDetector.markForCheck();
372 }
373}
374
375@Component({

Callers

nothing calls this directly

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected