ForgeComponents
en

Components

j-FontAwesome

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20

A simple FontAwesome viewer with fulltext searching. Supports a recent feature and it's responsive.

Configuration:

  • search {String} a placeholder for the search input

Methods:

  • component.show(x, y, [target], [callback(icon, target)] and it works as toggle when x and y are same as previous call
  • component.hide()

Use it with <ui-component name="fontawesome">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

example.html
<ui-component name="fontawesome" config="search:Search icons"></ui-component>

<script>
	setTimeout(function() {
		SETTER('fontawesome', 'show', 100, 100, function(icon) {
			console.log(icon);
		});
	}, 500);
</script>