1.0.1 • Published 2 years ago
user-device v1.0.1
detect-userDevice
Easy method for fix crossbrowser bugs Plugin add classes for html tag about user device
- Browser Name
- Platform Name
- Availability of retina
- Availability of touch
#How to use
Clone this repo and then in command line type:
npm install
oryarn
- install all dependenciesnpm run build
- build minify file todist
folder
In the global environment an object userDevice
is available from which you can retrieve data about the device