Icons
Icons
jQuery Mobile provides a number of icons that can be used by applying a data-icon
attribute or a ui-icon-
class to a suitable widget.
There is an SVG and PNG image of each icon. By default the SVG icons, that look great on both SD and HD screens, are used. On platforms that don't support SVG the framework falls back to PNG icons. The icon name is self-describing. For example, the following will display a button with a home icon:
1
|
|
The following is a full list of the icons provided:
Icons and themes
The semi-transparent black circle behind the white icon ensures good contrast on any background color so it works well with the jQuery Mobile theming system. Here are examples of the same icons sitting on top of a range of different color swatches with themed buttons.