Expand description
Where the screen’s pixels fall under an element: how large one device pixel is, and how far the element’s box starts past the device-pixel grid, kept current as the page zooms, moves to a screen of another density, or lays the element out anew.
Structs§
- Pixel
Grid - One device pixel in CSS pixels, and the nudge that puts an element’s content on the device-pixel grid.
Functions§
- use_
device_ pixel_ grid - The device-pixel grid under the element given the returned
onmountedhandler, updated for as long as the calling component is mounted.