Options
All
  • Public
  • Public/Protected
  • All
Menu

Module on

JMap.Event.Photo.on

Here you have all available high level events on which you can attach a listener.

Index

Functions

Functions

containerCreated

  • containerCreated(listenerId: string, fn: function): void
  • 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 App.

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

    Parameters

    Returns void