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

Function setDisabledState

src/material/datepicker/datepicker-input-base.ts:309–311  ·  view source on GitHub ↗

Implemented as part of ControlValueAccessor.

(isDisabled: boolean)

Source from the content-addressed store, hash-verified

307
308 /** Implemented as part of ControlValueAccessor. */
309 setDisabledState(isDisabled: boolean): void {
310 this.disabled = isDisabled;
311 }
312
313 _onKeydown(event: KeyboardEvent) {
314 const ctrlShiftMetaModifiers: ModifierKey[] = ['ctrlKey', 'shiftKey', 'metaKey'];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected