Skip to content
This repository was archived by the owner on Aug 17, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
response: '=?ngModel',
key: '=',
theme: '=?',
tabindex: '=?',
onCreate: '&',
onSuccess: '&',
onExpire: '&'
Expand Down Expand Up @@ -62,7 +63,8 @@

vcRecaptcha.create(elm[0], key, callback, {

theme: scope.theme || attrs.theme || null
theme: scope.theme || attrs.theme || null,
tabindex: scope.tabindex || attrs.tabindex || null

}).then(function (widgetId) {
// The widget has been created
Expand Down