Options
All
  • Public
  • Public/Protected
  • All
Menu

JMap.Application.Event.Extension.on

Here you have all JMap NG App available extension events on which you can attach a listener.

Index

Functions

Functions

registration

  • registration(listenerId: string, fn: function): void
  • JMap.Application.Event.Extension.on.registration

    This event is triggered after a user registers his own JMap NG App extension.

    The extension id is received as a param property of the event.

    example
    
    // Triggered when a user register a new extension
    JMap.Application.Event.Extension.on.registration("my-extension-listener", params => {
      const extensionId = params.extensionId
      console.info(`The following extension has been registered by the current user: "${extensionId}".`)
    })

    Parameters

    Returns void