• JMap.Event.Extension.on.registration

    This event is triggered when an extension is registered.

    Parameters

    • listenerId: string

      Your listener id (must be unique)

    • fn: ((params) => void)

      Your listener function

    Returns void

    Example

    // log a message in the console each time an extension has been registered
    JMap.Event.Extension.on.registration(
    "custom-core-extension-registration",
    params => console.log(`Extension id="${params.extensionId}" has been registered`)
    )