Don't you wish you could create an application that mimics the style of a mobile device, while looking like a native app? That's what some of the contributors to the Dojo framework thought, and that led to the modules in dojox/mobile
. The modules provide controls that match many of the UI elements in native mobile apps, mimicking them in form and function. With the widgets in this library, buttons and sliders look like iPhone buttons and sliders on Safari, while appearing as native Android buttons and sliders on Android-based browsers.
The dojox/mobile
modules provide a visual interactive framework that mimics native mobile apps. Unlike their dijit
form counterparts, the dojox/mobile
user controls do not use so many HTML elements, improving the download speed and memory usage. The UI elements work well with other dojox/mobile
controls, from the dojox/mobile/View
that takes up the whole screen, down to the last dojox/mobile/Button
. Let's take a look at a few of them.