• 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.

    Parameters

    • listenerId: string

      Your listener id (must be unique)

    • fn: ((params) => void)

      Your listener function

    Returns void

    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)
    )