From 6baaeb435dcc6b7f3a3f7cfde7199ee07c75d7e0 Mon Sep 17 00:00:00 2001 From: Cheton Wu Date: Fri, 29 Dec 2017 19:18:27 +0800 Subject: [PATCH] Update README.md --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b886e79..5510030 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,7 @@ npm install --save react-repeatable // Callback fired when the mouseup, touchcancel, or touchend event is triggered. }} > - @@ -55,9 +50,9 @@ repeatDelay | Number | 500 | The time (in milliseconds) to wait before the first repeatInterval | Number | 32 | The time interval (in milliseconds) on how often to trigger a hold action. repeatCount | Number | | The number of times the hold action will take place. onPress | Function(event) | | Callback fired when the mousedown or touchstart event is triggered. -onHoldStart | Function() | | Callback fired once when the hold action is started. +onHoldStart | Function() | | Callback fired once before the first hold action. onHold | Function() | | Callback fired mutiple times while holding down. -onHoldEnd | Function() | | Callback fired once when the hold action has finished. +onHoldEnd | Function() | | Callback fired once after the last hold action. onRelease | Function(event) | | Callback fired when the mouseup, touchcancel, or touchend event is triggered. ## License