React Position Tools For HTML Elements
npm install @speaker-ender/react-position-toolsThis element can be used to provide window element measurements to any of it's chidlren
This will allow you to hook into the WindowContext so you can get the current height and width of the viewport
This will allow you to hook into the CursorContext so you can track the cursor from anywhere
This is a hook for tracking the current cursor position relative to the viewport
This is a hook for tracking the current cursor position relative to any element
This is a hook that keeps track how long it has been since the cursor has moved and will return false if the cursor has not been moved in more than 1 second
Keeps track of an element's position attributes with callbacks for when it updates
Manage an element's position in state instead of just through callbacks