classafHcaptcha::CaptchaClient

sys::Obj
  afHcaptcha::CaptchaClient

@Js

getResponse

Source

Str? getResponse(Str widgetId)

make

Source

new make(Str siteKey, Bool enabled)

render

Source

Str render(Str containerId, [Str:Obj?]? params := null)

theme, type, size, tabindex callback, expired-callback, error-callback not supported

No need to add sitekey

Themes: normal = 304px x78px

compact = 164px x 144px

What's returned is NOT the hCaptcha widget id

See hCaptcha Container Configuration for details.

reset

Source

Void reset(Str widgetId)