Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventListenerRepository

Event handler repository.

Hierarchy

  • EventListenerRepository

Implements

Index

Properties

close

Event handlers for the close event.

create

create: MarkerViewEventHandler[] = []

Event handlers for the create event.

load

Event handlers for the load event.

over

over: MarkerEventHandler[] = []

Event handlers for the over event.

pointerdown

pointerdown: PointerEventHandler[] = []

Event handlers for the pointerdown event.

pointerenter

pointerenter: PointerEventHandler[] = []

Event handlers for the pointerenter event.

pointerleave

pointerleave: PointerEventHandler[] = []

Event handlers for the pointerleave event.

pointermove

pointermove: PointerEventHandler[] = []

Event handlers for the pointermove event.

pointerup

pointerup: PointerEventHandler[] = []

Event handlers for the pointerup event.

select

select: MarkerEventHandler[] = []

Event handlers for the select 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