Home > widget-integration > BackInStockController > handleSubscription

BackInStockController.handleSubscription() method

Signature:

protected handleSubscription(submitButton: HTMLButtonElement | null, variantSelect: HTMLElement | null, emailInput: HTMLInputElement | null, phoneInput: HTMLInputElement | null, popup: HTMLElement | null, notifyButton: HTMLElement | null, successBanner: HTMLElement | null): Promise<void>;

Parameters

Parameter

Type

Description

submitButton

HTMLButtonElement | null

variantSelect

HTMLElement | null

emailInput

HTMLInputElement | null

phoneInput

HTMLInputElement | null

popup

HTMLElement | null

notifyButton

HTMLElement | null

successBanner

HTMLElement | null

Returns:

Promise<void>