1.0.1 • Published 4 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 installoryarn- install all dependenciesnpm run build- build minify file todistfolder
In the global environment an object userDevice is available from which you can retrieve data about the device