• JMap.Event.Query.on.queryFormLoad

    This event is triggered when a query form has been loaded.

    Parameters

    • listenerId: string

      Your listener id (must be unique)

    • fn: ((params) => void)

      Your listener function

    Returns void

    Example

    // log a message in the console once a query form has been fetched from server.
    JMap.Event.Query.on.queryFormLoad(
    "custom-query-form-load",
    params => console.log("A query form has been loaded from server", params.query)
    )