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.

blur

Event handlers for the blur event.

since

2.19.0

close

Event handlers for the close event.

focus

Event handlers for the focus event.

since

2.19.0

markerbeforedelete

markerbeforedelete: MarkerEventHandler[] = []

Event handlers for the markerbeforedelete event.

markerchange

markerchange: MarkerEventHandler[] = []

Event handlers for the markerchange event.

since

2.23.0

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.

statechange

statechange: MarkerAreaEventHandler[] = []

Event handlers for the statechange event.

since

2.23.0

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