Skip to content

Commit

Permalink
docs: link to non-language specific mozilla docs (#3943)
Browse files Browse the repository at this point in the history
  • Loading branch information
dten committed Apr 30, 2024
1 parent 1558cd2 commit 7c2a8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/useDevicePixelRatio/index.md
Expand Up @@ -4,7 +4,7 @@ category: Sensors

# useDevicePixelRatio

Reactively track [`window.devicePixelRatio`](https://developer.mozilla.org/ru/docs/Web/API/Window/devicePixelRatio)
Reactively track [`window.devicePixelRatio`](https://developer.mozilla.org/docs/Web/API/Window/devicePixelRatio)

> NOTE: there is no event listener for `window.devicePixelRatio` change. So this function uses [`Testing media queries programmatically (window.matchMedia)`](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries) applying the same mechanism as described in [this example](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio#monitoring_screen_resolution_or_zoom_level_changes).
Expand Down

0 comments on commit 7c2a8c4

Please sign in to comment.