Skip to content

MultipleSelectionHandles

Members

dragged

Source code

multipleSelectionHandles.dragged : Array

PLUGIN_KEY

Source code

MultipleSelectionHandles.PLUGIN_KEY

Returns the plugin key used to identify this plugin in Handsontable settings.

PLUGIN_PRIORITY

Source code

MultipleSelectionHandles.PLUGIN_PRIORITY

Returns the priority order used to determine the order in which plugins are initialized.

Methods

disablePlugin

Source code

multipleSelectionHandles.disablePlugin()

Disables the plugin and forgets any drag in progress.

Without the reset, an updateSettings() mid-drag would take the listeners away while #dragTouches still reported a drag - and because browsers recycle Touch.identifier, a later unrelated finger handed a stale id would pass isDraggedBy() and start scrolling the grid.

enablePlugin

Source code

multipleSelectionHandles.enablePlugin()

Enable plugin for this Handsontable instance.

getCurrentRangeCoords

Source code

multipleSelectionHandles.getCurrentRangeCoords()

Calculates the new selection range coordinates after dragging a touch handle, accounting for drag direction and handle position.

isDragged

Source code

multipleSelectionHandles.isDragged() ⇒ boolean

Check if user is currently dragging the handle.

Returns: boolean - Dragging state.

isEnabled

Source code

multipleSelectionHandles.isEnabled() ⇒ boolean

Check if the plugin is enabled in the handsontable settings.