We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ad2913 commit 8a7f500Copy full SHA for 8a7f500
src/Recaptcha.js
@@ -54,7 +54,8 @@ export default {
54
const opts = {
55
...this.$props,
56
callback: this.emitVerify,
57
- 'expired-callback': this.emitExpired
+ 'expired-callback': this.emitExpired,
58
+ 'error-callback': this.emitError
59
}
60
const container = this.$slots.default ? this.$el.children[0] : this.$el
61
recaptcha.render(container, opts, id => {
@@ -74,6 +75,9 @@ export default {
74
75
},
76
emitExpired () {
77
this.$emit('expired')
78
+ },
79
+ emitError () {
80
+ this.$emit('error')
81
82
83
render (h) {
0 commit comments