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

Method _getAriaDisabled

src/material/button/button-base.ts:193–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191 }
192
193 protected _getAriaDisabled() {
194 if (this.ariaDisabled != null) {
195 return this.ariaDisabled;
196 }
197
198 if (this._isAnchor) {
199 return this.disabled || null;
200 }
201
202 return this.disabled && this.disabledInteractive ? true : null;
203 }
204
205 protected _getDisabledAttribute() {
206 return this.disabledInteractive || !this.disabled ? null : true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected