()
| 523 | */ |
| 524 | @Input() |
| 525 | get color(): ThemePalette { |
| 526 | // As per M2 design specifications the selection control radio should use the accent color |
| 527 | // palette by default. https://m2.material.io/components/radio-buttons#specs |
| 528 | return ( |
| 529 | this._color || |
| 530 | (this.radioGroup && this.radioGroup.color) || |
| 531 | (this._defaultOptions && this._defaultOptions.color) || |
| 532 | 'accent' |
| 533 | ); |
| 534 | } |
| 535 | set color(newValue: ThemePalette) { |
| 536 | this._color = newValue; |
| 537 | } |
nothing calls this directly
no outgoing calls
no test coverage detected