Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular/components
/ readonly
Method
readonly
src/material/input/input.ts:268–270 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
266
/** Whether the element is readonly. */
267
@Input()
268
get readonly(): boolean {
269
return
this._readonly;
270
}
271
set readonly(value: BooleanInput) {
272
this._readonly = coerceBooleanProperty(value);
273
}
Callers
1
ListboxPattern
Class · 0.80
Calls
1
coerceBooleanProperty
Function · 0.90
Tested by
no test coverage detected