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

Method setDisabledState

src/material/checkbox/checkbox.ts:352–354  ·  view source on GitHub ↗
(isDisabled: boolean)

Source from the content-addressed store, hash-verified

350
351 // Implemented as part of ControlValueAccessor.
352 setDisabledState(isDisabled: boolean) {
353 this.disabled = isDisabled;
354 }
355
356 // Implemented as a part of Validator.
357 validate(control: AbstractControl<boolean>): ValidationErrors | null {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected