Directory

google-recaptcha - Vaadin Add-on Directory

A Polymer element for google recaptcha V2 and invisible (Polymer 1.9 - 2.x) google-recaptcha - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/Zecat/google-recaptcha](https://github.com//Zecat/google-recaptcha/blob/v0.2.2/README.md) on 2019-05-22 ]** [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/Zecat/google-recaptcha) # \ A Polymer element for google recaptcha V2 and invisible. ```html ``` ## Install ``` bower install -S Zecat/google-recaptcha ``` ## Notes - Promise polyfill is a dev dependency. - Visit [https://www.google.com/recaptcha/admin](https://www.google.com/recaptcha/admin) to get a sitekey. ## Shadow DOM work-around By-design, the google recaptcha doesn't work inside shadow dom, so we detect when it has a ShadowRoot parent and if so, the recaptcha is placed in a container light DOM, which sync its size and screen position with its original \ parent, and the container is moved into the body. The container is refit every time the user scroll or the \ is notified of resize. This is an expensive task but the only solution so far.
GitHub Homepage
Issue tracker
View on GitHub
Online Demo
Documentation

google-recaptcha version 0.0.1
### Dependencies * polymer#Polymer/polymer#^1.4.0 * iron-form-element-behavior#^1.0.7 * iron-validatable-behavior#^1.1.2 * paper-sandbox#^0.0.4 * promise-polyfill#polymerlabs/promise-polyfill#^1.0.0

google-recaptcha version 0.0.2
### Dependencies * polymer#Polymer/polymer#^1.4.0 * iron-form-element-behavior#^1.0.7 * iron-validatable-behavior#^1.1.2 * paper-sandbox#^0.0.4 * promise-polyfill#polymerlabs/promise-polyfill#^1.0.0

google-recaptcha version 0.0.3
### Dependencies * polymer#Polymer/polymer#^1.4.0 * iron-form-element-behavior#^1.0.7 * iron-validatable-behavior#^1.1.2 * paper-sandbox#^0.0.4 * promise-polyfill#polymerlabs/promise-polyfill#^1.0.0

google-recaptcha version 0.0.4
### Dependencies * polymer#Polymer/polymer#1 - 2 * iron-form-element-behavior#PolymerElements/iron-form-element-behavior#1 - 2 * iron-validatable-behavior#PolymerElements/iron-validatable-behavior#1 - 2 * promise-polyfill#polymerlabs/promise-polyfill#^1.0.0

google-recaptcha version 0.1.0
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-form-element-behavior#PolymerElements/iron-form-element-behavior#1 - 2 * iron-validatable-behavior#PolymerElements/iron-validatable-behavior#1 - 2 * iron-fit-behavior#PolymerElements/iron-fit-behavior#1 - 2 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#1 - 2

google-recaptcha version 0.2.0
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-form-element-behavior#PolymerElements/iron-form-element-behavior#1 - 2 * iron-validatable-behavior#PolymerElements/iron-validatable-behavior#1 - 2 * iron-fit-behavior#PolymerElements/iron-fit-behavior#1 - 2 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#1 - 2

google-recaptcha version 0.2.1
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-form-element-behavior#PolymerElements/iron-form-element-behavior#1 - 2 * iron-validatable-behavior#PolymerElements/iron-validatable-behavior#1 - 2 * iron-fit-behavior#PolymerElements/iron-fit-behavior#1 - 2 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#1 - 2

google-recaptcha version 0.2.2
### Dependencies * polymer#Polymer/polymer#1.9 - 2 * iron-form-element-behavior#PolymerElements/iron-form-element-behavior#1 - 2 * iron-validatable-behavior#PolymerElements/iron-validatable-behavior#1 - 2 * iron-fit-behavior#PolymerElements/iron-fit-behavior#1 - 2 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#1 - 2