(args: GestureEventData)
| 433 | } |
| 434 | |
| 435 | function _getSwipeData(args: GestureEventData): SwipeGestureEventData { |
| 436 | const recognizer = <UISwipeGestureRecognizer>args.ios; |
| 437 | |
| 438 | return <SwipeGestureEventData>{ |
| 439 | type: args.type, |
| 440 | view: args.view, |
| 441 | ios: args.ios, |
| 442 | android: undefined, |
| 443 | direction: _getSwipeDirection(recognizer.direction), |
| 444 | object: args.view, |
| 445 | eventName: toString(args.type), |
| 446 | }; |
| 447 | } |
| 448 | |
| 449 | function _getPanData(args: GestureEventData, view: UIView): PanGestureEventData { |
| 450 | const recognizer = <UIPanGestureRecognizer>args.ios; |
no test coverage detected