Options
All
  • Public
  • Public/Protected
  • All
Menu

Module on

JMap.Event.Server.on

Here have all JMap NG Core server related events.

Index

Functions

Functions

infoReady

  • infoReady(listenerId: string, fn: function): void
  • JMap.Event.Server.on.infoReady

    This event is triggered server info is fetched.

    Fetching the server info is the first thing NG does.

    At this point the user is not yet logged in.

    example
    
    // log server info in the console, once the server has responded
    JMap.Event.Server.on.infoReady(
      "custom-server-info-ready",
      params => console.log("Server info:", params.serverInfo)
    )

    Parameters

    Returns void