react-simple-captcha
Advanced tools
Comparing version 5.2.3 to 5.2.4
{ | ||
"name": "react-simple-captcha", | ||
"version": "5.2.3", | ||
"version": "5.2.4", | ||
"description": "A very simple and powerful captcha for ReactJS", | ||
@@ -5,0 +5,0 @@ "main": "react-simple-captcha.js", |
@@ -105,7 +105,7 @@ # React Simple Captcha | ||
| ------ | ------ | | ||
| < LoadCanvasTemplate /> | It will load the captcha **with 'Reload Captcha'** functionality. Place between your render code, usage example < LoadCanvasTemplate /> | | ||
| < LoadCanvasTemplateNoReload /> | It will load the captcha **without 'Reload Captcha'** functionality. Place between your render code, usage example < LoadCanvasTemplateNoReload /> | | ||
| loadcaptchaenginge(*Number_Of_Captcha_Charcters*); | Simply paste it in **componentDidMount()**. Pass number of captcha characters you want to display. | | ||
| validateCaptcha(*User_Submitted_Value*) | Will return *true* if user submitted value matches with captcha otherwise *false*. Also will reload captcha if user submitted value is *false* | | ||
| validateCaptcha(*User_Submitted_Value*, *false*) | Will return *true* if user submitted value matches with captcha otherwise *false*. Will not reload captcha if user submitted value is *false* | | ||
| **< LoadCanvasTemplate />** | It will load the captcha **with 'Reload Captcha'** functionality. Place between your render code, usage example **< LoadCanvasTemplate />** | | ||
| **< LoadCanvasTemplateNoReload />** | It will load the captcha **without 'Reload Captcha'** functionality. Place between your render code, usage example **< LoadCanvasTemplateNoReload />** | | ||
| **loadcaptchaenginge(*Number_Of_Captcha_Charcters*);** | Simply paste it in **componentDidMount()**. Pass number of captcha characters you want to display. | | ||
| **validateCaptcha(*User_Submitted_Value*)** | Will return *true* if user submitted value matches with captcha otherwise *false*. Also will reload captcha if user submitted value is *false* | | ||
| **validateCaptcha(*User_Submitted_Value*, *false*)** | Will return *true* if user submitted value matches with captcha otherwise *false*. Will not reload captcha if user submitted value is *false* | | ||
@@ -112,0 +112,0 @@ ### Example |
9713