IHitOptions

Type interface

Represents collection of options related to click/tap

Inheritance

IHitOptions does not extend any other symbol.

IHitOptions is not extended by any other symbol.

Properties

doubleHitTime
#

Type number

If there were less than this milliseconds between two consecutive clicks consider it a double-hit.

hitTolerance
#

Type number

Maximum number of pixels a pointer can move from its original position while holding down mouse/touch to still consider it a click rather than some other gesture.

noFocus
#

Type boolean

If set to true (default), Interaction will try to trick the browser not to move focus on a clicked/touched element. This prevents items to become focused (and highlighted) on click/touch, but still make them focusable using keyboard for accessibility.