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

Method setDisabledState

src/material/select/select.ts:850–854  ·  view source on GitHub ↗

* Disables the select. Part of the ControlValueAccessor interface required * to integrate with Angular's core forms API. * * @param isDisabled Sets whether the component is disabled.

(isDisabled: boolean)

Source from the content-addressed store, hash-verified

848 * @param isDisabled Sets whether the component is disabled.
849 */
850 setDisabledState(isDisabled: boolean): void {
851 this.disabled = isDisabled;
852 this._changeDetectorRef.markForCheck();
853 this.stateChanges.next();
854 }
855
856 /** Whether or not the overlay panel is open. */
857 get panelOpen(): boolean {

Callers

nothing calls this directly

Calls 2

markForCheckMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected