lndsld

Home > @lndsld/react-hooks > usePointerEvent

usePointerEvent() function

Signature:

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

Parameters

Parameter Type Description
eventType PointerEventType  
handler NativePointerEventHandler  
options UsePointerEventOptions<E> (Optional)

Returns:

void