Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
no-captcha
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
CENTER-TBI
no-captcha
Commits
821b8ca1
Commit
821b8ca1
authored
Sep 27, 2017
by
Yerzhan Hn
Committed by
GitHub
Sep 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicit rendering after an onload callback
parent
d055473a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
README.md
README.md
+11
-1
No files found.
README.md
View file @
821b8ca1
...
@@ -41,7 +41,17 @@ NOCAPTCHA_SITEKEY=site-key
...
@@ -41,7 +41,17 @@ NOCAPTCHA_SITEKEY=site-key
With custom attributes and language support:
With custom attributes and language support:
```
```
{!! app('captcha')->display($attributes = [], $lang = null); !!}
{!! app('captcha')->display($attributes = [], $lang = null, $callback = false, $onLoadClass = 'onLoadCallback'); !!}
```
```
<script type="text/javascript">
var recaptchaCallback = function() {
$('.g-recaptcha').each(function(index, el) {
grecaptcha.render(el, {'sitekey' : 'yourKey'});
});
};
</script>
```
```
##### Validation
##### Validation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment