(e: TouchEvent)
| 77 | * @param {Object} e The widget element's touchstart event |
| 78 | */ |
| 79 | export function touchstart(e: TouchEvent): void { |
| 80 | // Ignore the event if another widget is already being handled |
| 81 | if (DDTouch.touchHandled) return; |
| 82 | DDTouch.touchHandled = true; |
| 83 | |
| 84 | // Simulate the mouse events |
| 85 | // simulateMouseEvent(e, 'mouseover'); |
| 86 | // simulateMouseEvent(e, 'mousemove'); |
| 87 | simulateMouseEvent(e, 'mousedown'); |
| 88 | } |
| 89 | |
| 90 | /** |
| 91 | * Handle the touchmove events |
no test coverage detected