Type alias MouseDragStopEventHandler<T, Info>

MouseDragStopEventHandler<T, Info>: ((obj: T, event: MouseEvent, button: number, startLocation: Point, info: Info) => void)

Type Parameters

  • T

  • Info = {}

Type declaration

    • (obj: T, event: MouseEvent, button: number, startLocation: Point, info: Info): void
    • Event handler for mouse drag

      Parameters

      • obj: T

        Object

      • event: MouseEvent

        Browser MouseEvent that triggered the event

      • button: number

        Button that is being held down

      • startLocation: Point

        Start location of mouse

      • info: Info

      Returns void