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

Method _getReadonlyAttribute

src/material/chips/chip-input.ts:273–275  ·  view source on GitHub ↗

Gets the value to set on the `readonly` attribute.

()

Source from the content-addressed store, hash-verified

271
272 /** Gets the value to set on the `readonly` attribute. */
273 protected _getReadonlyAttribute(): string | null {
274 return this.readonly || (this.disabled && this.disabledInteractive) ? 'true' : null;
275 }
276}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected