4 ms·
You can change or remove icons by assigning CSS attributes to HTML elements when building your application. Removing the "ui-btn-icon-right" class from that but
by jamesgeck0 15y ago
You can change or remove icons by assigning CSS attributes to HTML elements when building your application. Removing the "ui-btn-icon-right" class from that button removes the arrow icon.
Unless I've misunderstood what you're trying to do.
- pavel_lishin 15y agoCan you be more specific? And can I actually move them around, e.g. moving it to the left instead of the right?
- jamesgeck0 15y agoSure. Here's the complete code for the button in the demo with the icon on the left. <a id="select-choice-1-button" class="ui-btn ui-btn-corner-all ui-shadow ui-btn-up-a ui-btn-icon-left" href="#" role="button" aria-haspopup="true" aria-owns="select-choice-1-menu" data-theme="a" data-form="ui-btn-up-a"> The documentation has more info about this here: http://jquerymobile.com/demos/1.0rc2/docs/buttons/buttons-icons.html http://jquerymobile.com/demos/1.0rc2/docs/buttons/buttons-ic... Edit: Ah, that page says that `data-iconpos="left"` is supposed to do this. It doesn't seem to work on the demo page. :P