lndsld

Home > @lndsld/react-hooks > UsePointerEventOptions

UsePointerEventOptions interface

Configuration options for usePointerEvent hook

Signature:

export interface UsePointerEventOptions<E extends HTMLElement> 

Properties

Property Type Description
disabled? boolean (Optional) If true, event listener will not be added
passive? boolean (Optional)
ref? RefObject<E> (Optional) Ref to element, which events will be listened