Skip to content

Font Awesome

meraedit edited this page May 25, 2020 · 5 revisions

Used to show a font awesome icon.

If you want to use this component, you need to add the Font Awesome service from the Servoy Package Manager.

FontAwesome properties

The component has the following properties:

Property Type Default Description
faclass* string fa font awesome class of the icon to show
enabled enabled true When false icon has disabled appearance and actions do not work
size dimension null Component size
styleClass styleclass null Additional style class(es) of the component
toolTipText tagstring null Icon tooltip
visible visible true When false component is not visible
  • starting with 2019.06 release the default value changed from null to 'fa'. 'fa' is not automatically appended anymore

FontAwesome label events

Event Params Return Description
onActionMethodID event:JSEvent Fired when you click the icon
onDoubleClickMethodID event:JSEvent Fired when you double click the icon
onRightClickMethodID event:JSEvent Fired when you right click the icon
Clone this wiki locally