Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MouseEventReceiverInterface

Mouse and touch events

Hierarchy

  • MouseEventReceiverInterface

Index

Methods

Optional onClick

  • Called for mouse clicks and taps

    Parameters

    Returns boolean

    Return true to consume the event, false to pass it on

Optional onDoubleClick

  • Called for double clicks and double taps

    Parameters

    Returns boolean

    Return true to consume the event, false to pass it on

Optional onDrag

Optional onDragCancel

  • onDragCancel(): void
  • Called when the user cancels dragging by pressing the escape key

    Returns void

Optional onDragEnd

  • onDragEnd(): void
  • Called when the user releases the mouse button after dragging

    Returns void

Optional onDragStart

Optional onHold

  • Called for click-and-hold and touch-and-hold

    Parameters

    Returns boolean

    Return true to consume the event, false to pass it on

Optional onMouseMove

Optional onMouseOut

Optional onMouseOver

Optional onMouseWheel

Generated using TypeDoc