Skip to content

Instantly share code, notes, and snippets.

@MrPowerGamerBR
Created March 1, 2018 20:53
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrPowerGamerBR/7db0607f10825bb84005e9e2efe4c843 to your computer and use it in GitHub Desktop.
Save MrPowerGamerBR/7db0607f10825bb84005e9e2efe4c843 to your computer and use it in GitHub Desktop.
package utils
import org.w3c.dom.HTMLElement
@JsName("grecaptcha")
external object GoogleRecaptcha {
fun render(element: HTMLElement, options: RecaptchaOptions)
}
class RecaptchaOptions(val sitekey: String, val callback: String, val size: String)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment