Awesome
Usage
Only one file (device.js) need to be included.
Example: https://joyqi.github.io/mobile-device-js/example.html
MobileDevice.getGlRenderer()
Returns GPU Model Name (eg: Apple A8 GPU).
MobileDevice.getModels()
Returns device models list (eg: ["iPad Air 2", "iPad Mini 4"]).
MobileDevice.is(match)
Detect device model.
MobileDevice.is('iPhone')
MobileDevice.is('iPhone 6s')
TODO
- Android Devices :)