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

Method _setDisabled

src/material/radio/radio.ts:713–718  ·  view source on GitHub ↗

Sets the disabled state and marks for check if a change occurred.

(value: boolean)

Source from the content-addressed store, hash-verified

711
712 /** Sets the disabled state and marks for check if a change occurred. */
713 protected _setDisabled(value: boolean) {
714 if (this._disabled !== value) {
715 this._disabled = value;
716 this._changeDetector.markForCheck();
717 }
718 }
719
720 /** Called when the input is clicked. */
721 private _onInputClick = (event: Event) => {

Callers 1

disabledMethod · 0.95

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected