# j-FontAwesome

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

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: en
Content-SHA256: f11bb7050dab9238a0d5fd19d49cab1aceb54438a4319b11e9ba97155f2d6c13
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

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.

```html 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>
```
