As we build our applications and apply a number of styles and properties to define the layout and visual representation of elements, we also need to be able to update and alter the aesthetics and styles to reflect changes or events within the application.
In this recipe, we will read, write, and detect the style properties and class attributes assigned to selected elements using XUI's built-in style functions:
elementby running this line:
phonegap create element com.myapp.element element
cordova platform add ios cordova platform add android
www/index.html. Let's clean up the unnecessary ...