longClick
Longclick, also referred to as long click, long press, or long-tap, is a user interaction in which a control or screen area is pressed and held for a longer duration than a standard click or tap to trigger an action beyond a regular press. It is widely used on touch devices and in some desktop environments that support extended press gestures.
Detection and behavior are typically implemented by starting a timer when the pointer goes down (mousedown
Platform differences: on mobile devices, long-press often opens a context menu or secondary actions; on Android,
Uses and design considerations: longclick provides access to secondary actions, editing options, or drag-and-drop initiation. Designers