Focuses the radio button.
(options?: FocusOptions, origin?: FocusOrigin)
| 611 | |
| 612 | /** Focuses the radio button. */ |
| 613 | focus(options?: FocusOptions, origin?: FocusOrigin): void { |
| 614 | if (origin) { |
| 615 | this._focusMonitor.focusVia(this._inputElement, origin, options); |
| 616 | } else { |
| 617 | this._inputElement.nativeElement.focus(options); |
| 618 | } |
| 619 | } |
| 620 | |
| 621 | /** |
| 622 | * Marks the radio button as needing checking for change detection. |