Class representing a MouseHandler.

Hierarchy

  • MouseHandler

Constructors

Properties

clickMoveTolerance: number = 4

A render between mousedown and mouseup replaces the pressed cell, and the browser sends no "click" (both must hit the same element). The handler then reports the click itself for the pressed cell – if the mouse moved at most this many pixels (screen coordinates) between mousedown and mouseup. Since 1.1.108.

doubleClickDelay: number = 500

Programmatic clicks (element.click(), event.detail === 0): two clicks on the same cell within this delay (ms) count as a double click. Real mouse clicks use the click count of the browser (event.detail), i.e. the double-click speed of the operating system.

geMouseEvent?: GeMouseEvent
geMouseEventOld?: GeMouseEvent
mouseEvent?: MouseEvent
startMouseEvent?: GeMouseEvent
tableScope: TableScope

Methods

  • True while the mouse button is held in the table (a click or a drag in progress) – live data does not jump to the end then (tableApi.appendRows({ follow: "auto" }), since 1.1.108).

    Returns boolean

    true between mousedown and mouseup