Skip to main content
Registers an MFA verification listener. Listeners can be global (no scope) or scoped to a specific DOM element. The event bubbles up from the trigger element through the DOM:
  • Scoped listeners listen on their container and catch events from within
  • Global listeners listen on document and catch anything that bubbles up

Parameters

Returns

A function to unregister the listener.

Returns

void

Example