NativeScript

This ideas portal has been deprecated. To submit new feature requests, please follow this guideline

Add gestures states

In the tns modules there is already code for the GestureStateTypes (as an enum) but it isn't used anywhere. 

 

For example, in the pan gesture the x an y are relative to the position of the element on the start of the gesture. The problem is that in the callback it is unknown, which was the position of the element at the beginning of the pan and which is the position at the end.

  • Guest
  • Sep 3 2015
Link to GitHub issue