(detail: GestureDetail)
| 50 | }; |
| 51 | |
| 52 | const onMove = (detail: GestureDetail) => { |
| 53 | // set the transition animation's progress |
| 54 | const delta = getDeltaX(detail); |
| 55 | const stepValue = delta / win.innerWidth; |
| 56 | onMoveHandler(stepValue); |
| 57 | }; |
| 58 | |
| 59 | const onEnd = (detail: GestureDetail) => { |
| 60 | // the swipe back gesture has ended |
no test coverage detected