Closed puvaasam closed 8 years ago
@puvaasam Thanks for the comment:) Would you like to confirm your html tag is like following example?
<i fa [name]="times" border=true></i>
If we use directive, we have to add fa
attribute.
It's resolved my issue, Could tell me how to declare fa [name] property html.
When i do an inspect element my dom is like (fa-undefined)
<ul>
<!--template bindings={}--><li>
Author A<i fa="" class="fa fa-undefined fa-border"></i>
</li><li>
Author B<i fa="" class="fa fa-undefined fa-border"></i>
</li><li>
Author C<i fa="" class="fa fa-undefined fa-border"></i>
</li><li>
Author D<i fa="" class="fa fa-undefined fa-border"></i>
</li>
</ul>
Ok, I got it
<i fa [name]="'times'" [border]=true></i>
In the manual it's said that the component can be used like <fa ....>
but it throws the same error. So, is it possible to use the component or not? Should we use only directives?
Hi, I'm getting an error while integrating Font-awesome in angular2 application, I followed fa document for systemjs.config.js setup.
Error message platform-browser.umd.js:962 Error: Uncaught (in promise): Template parse errors: Can't bind to 'name' since it isn't a known native property ("
also, i tried with FaComponet and FaDirective.
Code:
author.html
systemjs.config.js
Thanks..