Page 1 of 1

device library/getDevice ()

Posted: Tue Feb 27, 2018 6:16 am
by es_91
It would be cool to have a device-concerned library to get information about the used device, such as a devicePixelRatio to determine whether a mobile-style design should be displayed.

Alternatively, a getDevice () function within the system library could retrieve such information.