Interface HookEvents

Description

Defines a list of hooks names that are available. Certain events throughout the software will call an arbitrary callback, by this name. These names are meant to be descriptive, to indicate when the callback (hook) will be called.

interface HookEvents {
    ON_FORM_LOCALE_CHANGE: "ar" | "bg" | "bn-IN" | "cs" | "da" | "de" | "el" | "en-GB" | "en-US" | "es-ES" | "es" | "fi" | "fr-CA" | "fr" | "ga" | "hi-IN" | "hr" | "hu" | "id" | "is" | "it" | "iw" | "ja" | "ko" | "lo" | "lt" | "ms" | "nl" | "nl-BE" | "no" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "sw" | "uk" | "ur" | "vi" | "th" | "tr" | "zh-HK" | "zh" | "zu";
    ON_VERIFICATION_READY: VerificationResponse;
    ON_VERIFICATION_STEP_CHANGE: VerificationResponse | AllResponseTypes;
    ON_VERIFICATION_SUCCESS: SuccessResponse;
}

Properties

ON_FORM_LOCALE_CHANGE: "ar" | "bg" | "bn-IN" | "cs" | "da" | "de" | "el" | "en-GB" | "en-US" | "es-ES" | "es" | "fi" | "fr-CA" | "fr" | "ga" | "hi-IN" | "hr" | "hu" | "id" | "is" | "it" | "iw" | "ja" | "ko" | "lo" | "lt" | "ms" | "nl" | "nl-BE" | "no" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "sw" | "uk" | "ur" | "vi" | "th" | "tr" | "zh-HK" | "zh" | "zu"
ON_VERIFICATION_READY: VerificationResponse
ON_VERIFICATION_STEP_CHANGE: VerificationResponse | AllResponseTypes
ON_VERIFICATION_SUCCESS: SuccessResponse