Press started
When element is initially pressed
Name
onStart
Type
(event, meta) => void
(
event:
| ReactMouseEvent<Target>
| ReactTouchEvent<Target>
| ReactPointerEvent<Target>,
meta: { context?: Context; reason?: LongPressCallbackReason }
) => void
Default value
undefined
Description
Called when element is initially clicked / touched / pointed, before starting to count down threshold time
Last updated
Was this helpful?