(e: PressEvent)
| 231 | }); |
| 232 | |
| 233 | let onPressStart = (e: PressEvent) => { |
| 234 | if (!isDisabled && (e.pointerType === 'virtual' || e.pointerType === 'keyboard')) { |
| 235 | // If opened with a screen reader or keyboard, auto focus the first submenu item. |
| 236 | onSubmenuOpen('first'); |
| 237 | } |
| 238 | }; |
| 239 | |
| 240 | let onPress = (e: PressEvent) => { |
| 241 | if (!isDisabled && (e.pointerType === 'touch' || e.pointerType === 'mouse')) { |
nothing calls this directly
no outgoing calls
no test coverage detected