Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
jQuery Mobile includes a powerful icon mechanism that allows us to apply themes to buttons as well as many other components where an icon can be used. Therefore, we will talk about icons again later in this book and the options, icon gallery, and functionality will be exactly the same as the analysis we are doing now.
Every button can define an icon through the data-icon attribute.
This attribute receives an icon name. The name can be one of the gallery
(already included with the framework) or a custom name.
The possible icons available in jQuery Mobile 1.0 are described in Table 3-1.