From 64296d49570996bde0ea80ce11d637eee950b38a Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Tue, 24 Nov 2015 11:44:44 +0800 Subject: [PATCH] docs: add docs for `onChange` `onAfterChange` --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 58023d1..c475549 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,18 @@ ReactDOM.render(, container); false When the `step` value is greater than 1, you can set the `dots` to `true` if you want to render the slider with dots. + + onChange + function + NOOP + `onChange` will be triggered while the value of Slider changing. + + + onAfterChange + function + NOOP + `onAfterChange` will be triggered when `ontouchend` or `onmouseup` is triggered. +