O'Reilly logo

jQuery Mobile: Develop and Design by Kris Hadlock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required