bbRecaptchaWidget
=====

Renders the reCaptcha v2 widget by Google.
Bindings:

| Name                  | Type      | Description                                                       |
| -------------------   | --------- | ----------------------------------------------------------------- |                                                        
| onRecaptchaVerified   | Function  | A callback called when the captcha is valid                       |
| onRecaptchaError      | Function  | A callback called when the captcha is unsuccessful                |
| recaptchaIsValid      | Variable  | A two-way bound value which contains the status of the recaptcha  |             

All the bindings are optional.

Usage
-----

```html
<!-- your code -->
<bb-recaptcha-widget
  on-recaptcha-verified="yourCallbackHere"
  on-recaptcha-error="yourErrorCallbackHere"
  recaptcha-is-valid="yourVariableHere">
</bb-recaptcha-widget>
<!-- other code -->
```

Every time you use the recaptcha the recaptchaIsValid value is changed 
(if the variable has been passed) and the right callback is called (if passed).

Config
------
`RecaptchaWidget.config.siteKey` is the site key used to communicate with the backend. Get it from the Google Console.
`RecaptchaWidget.config.enabled` defines whether the reCaptcha widget can be used across the application. 
Displaying or hiding the widget in certain pages should be a separate configuration  



