https://github.com/plainheart/dpr-observer
An observer for listening to the change of device pixel ratio in browser.
https://github.com/plainheart/dpr-observer
browser devicepixelratio dppx dpr javascript observer
Last synced: 8 months ago
JSON representation
An observer for listening to the change of device pixel ratio in browser.
- Host: GitHub
- URL: https://github.com/plainheart/dpr-observer
- Owner: plainheart
- License: mit
- Created: 2020-12-11T03:44:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T15:38:11.000Z (over 5 years ago)
- Last Synced: 2025-02-01T18:44:32.247Z (over 1 year ago)
- Topics: browser, devicepixelratio, dppx, dpr, javascript, observer
- Language: JavaScript
- Homepage: https://github.com/plainheart/dpr-observer
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.org/package/dpr-observer)
[](https://travis-ci.org/plainheart/dpr-observer)
[](https://npmcharts.com/compare/dpr-observer?minimal=true)
[](https://www.jsdelivr.com/package/npm/dpr-observer)
[](https://www.npmjs.com/package/dpr-observer)
## DprObserver
An observer for listening to the change of device pixel ratio in browser.
[View demo online](https://plainheart.github.io/dpr-observer)