At this moment I'm working in MacOSX with chrome and atoms doesn't detect anything.
Atoms.device return:
Object {os: undefined, width: 1280, height: 424, screen: "small"}
note also that it detects the browser as small. wtf.
but is possible to know this information with navigator.appVersion:
"5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36"
link related: http://stackoverflow.com/a/11219680/1656676
Another thing is that can be useful a function like isMobile() that return a simple boolean (for example, to use tap or click event)
At this moment I'm working in MacOSX with chrome and atoms doesn't detect anything.
Atoms.devicereturn:note also that it detects the browser as
small. wtf.but is possible to know this information with
navigator.appVersion:link related: http://stackoverflow.com/a/11219680/1656676
Another thing is that can be useful a function like
isMobile()that return a simple boolean (for example, to use tap or click event)