(e: PointerEvent)
| 140 | } |
| 141 | |
| 142 | export function pointerenter(e: PointerEvent): void { |
| 143 | // ignore the initial one we get on pointerdown on ourself |
| 144 | if (!DDManager.dragElement) { |
| 145 | // console.log('pointerenter ignored'); |
| 146 | return; |
| 147 | } |
| 148 | // console.log('pointerenter'); |
| 149 | if (e.pointerType === 'mouse') return; |
| 150 | simulatePointerMouseEvent(e, 'mouseenter'); |
| 151 | } |
| 152 | |
| 153 | export function pointerleave(e: PointerEvent): void { |
| 154 | // ignore the leave on ourself we get before releasing the mouse over ourself |
no test coverage detected