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

Method setDisabledState

src/cdk/listbox/listbox.ts:622–625  ·  view source on GitHub ↗

* Sets the disabled state of the listbox. * @param isDisabled The new disabled state * @docs-private

(isDisabled: boolean)

Source from the content-addressed store, hash-verified

620 * @docs-private
621 */
622 setDisabledState(isDisabled: boolean): void {
623 this.disabled = isDisabled;
624 this.changeDetectorRef.markForCheck();
625 }
626
627 /** Focus the listbox's host element. */
628 focus() {

Callers

nothing calls this directly

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected