jQuery UI Widgets › Forums › Editors › Button, RepeatButton, ToggleButton, LinkButton › button with font awesome icon
Tagged: Button, icons
This topic contains 1 reply, has 2 voices, and was last updated by admin 3 years, 9 months ago.
I’d like to create button wit 3 fontawesome icons and no text. How can I do that?
Thanks
Hi arkgroup,
You can find the solution below:
Example:
<div id="jqxButton"> Button <i class="fab fa-accusoft"></i> </div>
Init code:
$("#jqxButton").jqxButton({ width: 100, theme: 'energyblue' });
Font Awesome loaded from https://pro.fontawesome.com/releases/v5.10.0/css/all.css
Best regards, Peter Stoev
jQWidgets Team https://www.jqwidgets.com/
You must be logged in to reply to this topic.