Skip to content

About

A Polymer element for google recaptcha V2 and invisible (Polymer 1.9 - 2.x)

Resources

Stars

5 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

<google-recaptcha>

Demo & Doc

A Polymer element for google recaptcha V2 and invisible.

Install

  bower install -S Zecat/google-recaptcha

Examples

  <google-recaptcha
    sitekey="YOUR_KEY"
    value="{{token}}"
  ></google-recaptcha>

  <google-recaptcha
    sitekey="YOUR_KEY"
    theme="dark"
    type="audio"
    size="compact"
    on-google-recaptcha-response="_handleRecaptchaResponse"
  ></google-recaptcha>

  <!-- Call the method `execute` on this element when you want a token -->
  <google-recaptcha
    sitekey="YOUR_KEY"
    invisible
    badge="inline"
  ></google-recaptcha>

  <!-- Using prevent-auto-render, call the method `render` when you want to
  display the recaptcha, then call `execute` to get a token -->
  <google-recaptcha
    sitekey="YOUR_KEY"
    invisible
    prevent-auto-render
  ></google-recaptcha>

About

A Polymer element for google recaptcha V2 and invisible (Polymer 1.9 - 2.x)

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages