When "listening" to touchEnd
event of a View
, how can I determine weather the touch ended inside it's bounds?
in other words, the equivalent of the iOS touchUpInside
.
Note-
I'm adding a touchEnd
handler and not only on.click
because iOS devices have this 300 ms intentional delay and I would like to eliminate it (please point out if there is a better solution to this).
Regarding the event handling, Rikulo UI doesn't handle specially but adding a thin layer on top of what Dart API provides. After all, a view is simply a DIV element with some special attributes.
Here is the list of events we wrapped: Rikulo events. If there is a miss, please let us know (by posting an issue to Github).
Regarding simulation of touchUpInside, this one might help.