Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Photo

JMap.Event.Photo

Here you can manage all photo event listeners.

Click to see all events available: *JMap.Event.Photo.on*.

Index

Modules

Functions

Functions

activate

  • activate(listenerId: string): void
  • JMap.Event.Photo.activate

    Activate the listener.

    If the listener is already active, do nothing.

    If the listener is inactive, it will be reactivated and will be called again ...

    example
    
    // activate the listener "my-photo-listener"
    JMap.Event.Photo.activate("my-photo-listener")

    Parameters

    • listenerId: string

      The listener id

    Returns void

deactivate

  • deactivate(listenerId: string): void
  • JMap.Event.Photo.deactivate

    Deactivate the listener.

    If the listener id doesn't exists or if the listener is already inactive, do nothing.

    If the listener is active, it will be deactivated and will be ignored ...

    example
    
    // deactivate the listener "my-photo-listener"
    JMap.Event.Photo.deactivate("my-photo-listener")

    Parameters

    • listenerId: string

      The listener id

    Returns void

remove

  • remove(listenerId: string): void
  • JMap.Event.Photo.remove

    Remove the listener.

    If the listener doesn't exist, do nothing.

    Remove the listener from JMap NG Core library. The listener is deleted and never called again after that.

    example
    
    // remove the listener "my-photo-listener"
    JMap.Event.Photo.remove("my-photo-listener")

    Parameters

    • listenerId: string

      The listener id

    Returns void