lndsld

Home > @lndsld/react-hooks > usePointerEvent

usePointerEvent() function

Signature:

declare function usePointerEvent<E extends HTMLElement>(eventType: TouchEventType, handler: NativeTouchEventHandler, options?: UsePointerEventOptions<E>): void;

Parameters

Parameter Type Description
eventType TouchEventType  
handler NativeTouchEventHandler  
options UsePointerEventOptions<E> (Optional)

Returns:

void