device library/getDevice ()

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
es_91
Posts: 36
Joined: Sat Aug 29, 2015 10:25 pm

device library/getDevice ()

Post 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.
:mrgreen: