Single tap

Name

onSingleTap

Type

Javascript
(event) => void
TypeScript
(
    event: MouseEvent<Target>
) => void

Default value

undefined

Description

Callback for handling case when double tap is not triggered, because of capture timeout.

For example if threshold parameter is 300ms and second tap occurs after 500ms then onSingleTap is triggered at 300ms mark.

Last updated

Was this helpful?