Search results

23 packages found

Get accurate and well named css box model information about an Element 📦

published version 1.2.1, 5 years ago185 dependents licensed under $MIT
8,895,661

get relative position from an event

published version 3.0.2, 9 years ago64 dependents licensed under $MIT
665,219

Cross-browser `getBoundingClientRect()` for all Node types

published version 1.0.5, 10 years ago14 dependents licensed under $MIT
8,491

relative position of mouse/touch events to element

published version 1.0.1, 9 years ago5 dependents licensed under $MIT
5,584

Get coordinates from a mouse or touch event.

published version 2.0.0, 4 years ago4 dependents licensed under $MIT
1,843

A polyfill to make Cross Browser Support much easier!

published version 1.0.5, 6 years ago1 dependents licensed under $MIT
1,638

A state container which provides an interface for retrieving the bounding client rect of a referenced element. The bounding client rect will update each time the window resizes - a behavior which can be turned off by setting the prop `recalcOnWindowResize

published version 0.1.22, 6 years ago3 dependents licensed under $MIT
1,087

Get the bounding client rect of an element relative to a root document, going through iframes

published version 1.0.0, 6 years ago0 dependents licensed under $MIT
215

getBoundingClientRect() async and without browser re-layout

published version 1.5.0, 5 years ago0 dependents licensed under $MIT
212

Get notified when the bounding rect of a component changes

published version 1.0.1, 2 years ago1 dependents licensed under $MIT
104

Replaced elements object-fit and object-position utilities

published version 2.1.3, 3 years ago0 dependents licensed under $MIT
89

a react-announce declarative that exposes component size as a stream

published version 1.1.0, 9 years ago0 dependents licensed under $ISC
52

Send nodes.

published version 1.1.1, 5 years ago1 dependents licensed under $MIT
35

minimalist dom projection library in js/ts

published version 0.1.6, 10 months ago0 dependents licensed under $MIT
31

A JavaScript library for writing tests for code drawing on canvas

published version 0.3.0, 8 years ago0 dependents licensed under $MIT
29

Higher-order component (HOC) to get the distance to window border or scrollable element.

published version 0.0.7, 8 years ago0 dependents licensed under $MIT
25

gets an element's actual client rect with transform. ALPHA

published version 0.2.2, 10 months ago1 dependents licensed under $MIT
20

Normalized cross-browser getBoundingClientRect

published version 0.1.0, 8 years ago0 dependents licensed under $MIT
18

Another getBoundingClientRect

published version 0.1.0, 4 years ago1 dependents licensed under $ISC
14

A react package that returns a custom React hook that simplifies tracking the position of a DOM element within the viewport. It provides developers with an easy way to access the element's dimensions and position in real-time, utilizing the Intersection O

published version 1.0.1, 4 months ago0 dependents licensed under $ISC
12