Skip to content

Latest commit

 

History

History
54 lines (31 loc) · 1.02 KB

GoogleRecaptcha.md

File metadata and controls

54 lines (31 loc) · 1.02 KB

@bigcommerce/checkout-sdk / GoogleRecaptcha

Class: GoogleRecaptcha

Table of contents

Constructors

Methods

Constructors

constructor

new GoogleRecaptcha(googleRecaptchaScriptLoader, mutationObserverFactory)

Parameters

Name Type
googleRecaptchaScriptLoader GoogleRecaptchaScriptLoader
mutationObserverFactory MutationObserverFactory

Methods

execute

execute(): Observable<RecaptchaResult>

Returns

Observable<RecaptchaResult>


load

load(containerId, sitekey): Promise<void>

Parameters

Name Type
containerId string
sitekey string

Returns

Promise<void>