Options
All
  • Public
  • Public/Protected
  • All
Menu

marker.js 2 Class Reference

Index

Type aliases

ArrowType

ArrowType: "both" | "start" | "end" | "none"

EventHandler

EventHandler<T>: T extends "select" ? MarkerEventHandler : T extends "over" ? MarkerEventHandler : T extends "pointerdown" ? PointerEventHandler : T extends "pointermove" ? PointerEventHandler : T extends "pointerup" ? PointerEventHandler : T extends "pointerenter" ? PointerEventHandler : T extends "pointerleave" ? PointerEventHandler : MarkerViewEventHandler

Event handler type for a specific event type.

Type parameters

MarkerEventHandler

MarkerEventHandler: (markerView: MarkerView, marker?: MarkerBase) => void

Marker event handler type.

Type declaration

MarkerState

MarkerState: "new" | "creating" | "select" | "move" | "resize" | "rotate" | "edit"

Represents marker's state (status) in time.

MarkerViewEventHandler

MarkerViewEventHandler: (markerView: MarkerView) => void

General MarkerView event handler type.

Type declaration

PointerEventHandler

PointerEventHandler: (markerView: MarkerView, event: PointerEvent, marker?: MarkerBase) => void

Pointer related marker event handler type.

Type declaration

Generated using TypeDoc