• JMap.Event.Photo.on.containerCreated

    This event is triggered once when the photo container has been created in the dom.

    You should not need to use this event, it's a technical one required by JMap Server NG.

    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 the photo container is created
    JMap.Event.Main.on.containerCreated(
    "custom-photo-div-created",
    params => console.log("Photo container created", params.container)
    )