Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Buttons > Icons

Icons

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.

Table 3-1. Icons available in jQuery Mobile

Icon descriptionValue

Left arrow

arrow-l

Right arrow

arrow-r

Up arrow


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint