Handles focusin events for the cell.
(event: FocusEvent)
| 124 | |
| 125 | /** Handles focusin events for the cell. */ |
| 126 | onFocusIn(event: FocusEvent): void { |
| 127 | this.isFocused.set(true); |
| 128 | |
| 129 | const focusTarget = _getEventTarget<Element>(event); |
| 130 | const widget = this.inputs.getWidget(focusTarget); |
| 131 | if (!widget) return; |
| 132 | |
| 133 | // Pass down focusin event to the widget. |
| 134 | widget.onFocusIn(event); |
| 135 | } |
| 136 | |
| 137 | /** Handles focusout events for the cell. */ |
| 138 | onFocusOut(event: FocusEvent): void { |
nothing calls this directly
no test coverage detected