Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native panresponder on click

onMoveShouldSetPanResponder: (e, gestureState) => {
     return Math.abs(gestureState.dx) >= 1 || Math.abs(gestureState.dy) >= 1;
}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #react #native #panresponder #click
ADD COMMENT
Topic
Name
4+1 =