react-simple-captcha
Advanced tools
Comparing version 5.0.0 to 5.1.0
{ | ||
"name": "react-simple-captcha", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"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 **{ReactHtmlParser(LoadCanvasTemplate)}** | | ||
| **<LoadCanvasTemplateNoReload />** | It will load the captcha **without 'Reload Captcha'** functionality. Place between your render code, usage example **{ReactHtmlParser(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 **{ReactHtmlParser(LoadCanvasTemplate)}** | | ||
| <LoadCanvasTemplateNoReload /> | It will load the captcha **without 'Reload Captcha'** functionality. Place between your render code, usage example **{ReactHtmlParser(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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9770