drag: let containers see all move events during traversing gestures

This commit is contained in:
jean-emmanuel 2025-03-21 14:46:17 +01:00
parent a737020492
commit 69a8d4b576
3 changed files with 38 additions and 8 deletions

View file

@ -88,6 +88,12 @@ This script has access to the same variables and functions as the `script` prope
- setting `event.allowScroll` to `true` will allow touch scrolling where it would normally be prevented ('start' event only)
- `width` and `height` are undefined
Containers with `traversing` enabled change how touch events are emitted:
- a new 'stop' event is emitted whenever the gestures exits a touchable widget
- a new 'start' event is emitted whenever the gestures enters a touchable widget
### `onDraw`
See [canvas](../canvas/).