Class: SignupSuccessListener

SignupSuccessListener(customerID)

Listener for successful signups. Triggered after the user signs up if the signup was successful. The signup is considered successful if the user is logged in after attempting to sign up.

Constructor

new SignupSuccessListener(customerID)

Parameters:
Name Type Description
customerID string The ID of the customer if signed in.
Source:

Extends

Classes

SignupSuccessListener

Members

signupForm

Gets the sign-up form element.
Overrides:
Source:

Methods

createPayload(status) → {Object}

Creates the payload object with the given status.
Parameters:
Name Type Description
status string The status of the signup attempt.
Overrides:
Source:
Returns:
The payload object containing the status.
Type
Object

listen()

Checks if the signup was successful and triggers a signup success event if so.
Overrides:
Source: