> For the complete documentation index, see [llms.txt](https://minwork.gitbook.io/long-press-hook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minwork.gitbook.io/long-press-hook/advanced/options/react-events/persisting-event.md).

# Persisting event

Prevent React event from being cleared

#### Name

`captureEvent`

#### Type

`boolean`

#### Default value

`false`

#### Description

If `event.persist()` should be called on incoming React event before calling callbacks
