Jump to content
View in the app

A better way to browse. Learn more.

Learn more

ips.ui.captcha

Description

The Captcha widget is designed to allow captcha to be used dynamically, including situations where it is initialized after the page has loaded (e.g. in popups). The necessary javascript libraries from providers are loaded on the fly. The widget presently supports reCaptcha and KeyCaptcha.

 

Usage

The widget is initialized as follows:

<div data-ipsCaptcha data-ipsCaptcha-service='recaptcha' data-ipsCaptcha-key='...'> </div>

 

Options

service
(String; required)

Specifies the captcha service to initialize. Either recaptcha or keycaptcha.

 

key (recaptcha only)
(String; required)

Specifies the reCaptcha API key to use. Not used for KeyCaptcha.

 

lang (recaptcha only)
(String; optional; default 'en-US')

Specifies the language to load for reCaptcha. Not used for KeyCaptcha.

 

theme (recaptcha only)
(String; optional; default 'white')

Specifies the theme to load for reCaptcha. Not used for KeyCaptcha.

 

Events

The Captcha widget does not emit any events.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.