12. Global Options
On the surface, the jQuery Mobile framework offers a quick and easy way to create mobile websites. However, the framework also has an application programming interface (API) that can be used to extend the basic functionality. The jQuery Mobile API provides an extra level of control over the customization of your mobile website. Everything from the custom setup of global options to hooking into interaction events and working with exposed methods is possible with the API. By the end of this chapter, you’ll know how to define custom options for your mobile website and how to write custom code that interacts with the jQuery Mobile framework.
Extending the mobileinit Event
As introduced earlier, jQuery Mobile includes an initialization ...
Get jQuery Mobile: Develop and Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.