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

Method required

src/material/radio/radio.ts:507–509  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

505 /** Whether the radio button is required. */
506 @Input({transform: booleanAttribute})
507 get required(): boolean {
508 return this._required || (this.radioGroup && this.radioGroup.required);
509 }
510 set required(value: boolean) {
511 if (value !== this._required) {
512 this._changeDetector.markForCheck();

Callers

nothing calls this directly

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected