Skip to content
This repository has been archived by the owner on Jan 20, 2019. It is now read-only.

<fa> component doesn't work in ng-templates #44

Closed
dloreto opened this issue Apr 4, 2018 · 1 comment
Closed

<fa> component doesn't work in ng-templates #44

dloreto opened this issue Apr 4, 2018 · 1 comment

Comments

@dloreto
Copy link

dloreto commented Apr 4, 2018

In this case icons don't get loaded:
parent-component.html

<child-component>
  <ng-template>
    <fa name="home"></fa>
  </ng-template>
</child-component>

child-component.html

<ng-container [ngTemplateOutlet]="myTemplate"></ng-container>

child-component.ts

@ContentChild(TemplateRef) private myTemplate: TemplateRef<any>
@dloreto dloreto closed this as completed Apr 4, 2018
@dloreto
Copy link
Author

dloreto commented Apr 4, 2018

My bad, works right.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant