Skip to content

helpers/onPointerEvents ​

Functions ​

FunctionDescription
onPointerEventsListen to pointer events on an element and provide the pointer position, element bounding rect and center to the handlers.

Released under the MIT License.