Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventListenerRepository

Event handler repository.

Hierarchy

  • EventListenerRepository

Implements

Index

Properties

beforeclose

beforeclose: MarkerAreaEventHandler[] = []

Event handlers for the beforeclose event.

close

Event handlers for the close event.

markerbeforedelete

markerbeforedelete: MarkerEventHandler[] = []

Event handlers for the markerbeforedelete event.

markercreate

markercreate: MarkerEventHandler[] = []

Event handlers for the markercreate event.

markercreating

markercreating: MarkerEventHandler[] = []

Event handlers for the markercreating event.

markerdelete

markerdelete: MarkerEventHandler[] = []

Event handlers for the markerdelete event.

markerdeselect

markerdeselect: MarkerEventHandler[] = []

Event handlers for the markerdeselect event.

markerselect

markerselect: MarkerEventHandler[] = []

Event handlers for the markerselect event.

render

Event handlers for the render event.

restorestate

restorestate: MarkerAreaEventHandler[] = []

Event handlers for the restorestate event.

show

Event handlers for the show event.

Methods

addEventListener

  • addEventListener<T>(eventType: T, handler: EventHandler<T>): void
  • Add an event handler for a specific event type.

    Type parameters

    Parameters

    • eventType: T

      event type.

    • handler: EventHandler<T>

      function to handle the event.

    Returns void

removeEventListener

  • removeEventListener<T>(eventType: T, handler: EventHandler<T>): void
  • Remove an event handler for a specific event type.

    Type parameters

    Parameters

    • eventType: T

      event type.

    • handler: EventHandler<T>

      function currently handling the event.

    Returns void

Generated using TypeDoc