(e)
| 146 | setLabelPressed(true); |
| 147 | }, |
| 148 | onPressEnd(e) { |
| 149 | // Keyboard interactions are handled directly on the input. |
| 150 | if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') { |
| 151 | e.continuePropagation(); |
| 152 | return; |
| 153 | } |
| 154 | |
| 155 | onPressEnd?.(e); |
| 156 | onPressChange?.(false); |
| 157 | setLabelPressed(false); |
| 158 | }, |
| 159 | onPressUp(e) { |
| 160 | if (e.pointerType === 'keyboard' || e.pointerType === 'virtual') { |
| 161 | e.continuePropagation(); |
nothing calls this directly
no test coverage detected