ember-cli addon for using Font Awesome icons in Ember apps
Remove font-awesome from your bower file because it's now installed via NPM! :tada:
ember-font-awesome
2.3.0
{{fa-list}}
and {{fa-stack}}
have support contextual componentsSome changes made to font-awesome asset inclusion: (see #73)
Fixed add-on nesting
Only real change is that this addon is now developed using decorators syntax. Please test and report bugs.
You can now specify the icon
param as a positional param.
{{fa-icon "camera"}}
NOTE: This will not work when working with Ember version <= 1.12.X
.
This version is backwards compatible with the 0.1.X
series of this addon.
Fixup of version 1.1.0. See version 1.1.0.
Added the {{fa-list}}
and {{fa-list-icon}}
components:
{{#fa-list}}
<li>{{fa-list-icon icon="star"}}Item 1</li>
<li>{{fa-list-icon icon="star"}}Item 2</li>
{{/fa-list}}
Added the {{fa-stack}}
component:
{{#fa-stack size="lg"}}
{{fa-icon icon="fa-square-o" stack=2}}
{{fa-icon icon="fa-twitter" stack=1}}
{{/fa-stack}}
In this version the {{fa-icon}}
helper has been refactored into an Ember Component.
To upgrade you should find all occasions where the {{fa-icon}}
helper is used and change the following:
{{fa-icon 'camera'}}
{{!-- change to: --}}
{{fa-icon icon='camera'}}
All other attributes should work like they used to. If they don't, please open an issue or submit a pull-request with a fix.
Font Awesome 4.4