You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, and great library by the way! I've successfully created wrappers for my react components, but now I'm trying to generate a list of components with *ngFor which I can't seem to get working. If needed, I can make a plunker or other sample app; just let me know, thanks.
Example from /angular-react/blob/master/apps/demo/src/app/app.component.html
This doesn't work:
<fab-pivot><fab-pivot-item*ngFor="let item of items" headerText="item.name"><div>{{item.content}}</div></fab-pivot-item></fab-pivot>
This doesn't work:
<fab-pivot><div*ngFor="let item of items"><fab-pivot-itemheaderText="item.name"><div>{{item.content}}</div></fab-pivot-item></div></fab-pivot>
If the component allows it, you can get around the *ngFor issue by wrapping your list of items in a component of their own. I ran into this issue testing the fab-dialog, it would not render anything using *ngFor, but putting the *ngFor inside another component worked just fine. Not ideal but it seems to be a possible work around.
Hello, and great library by the way! I've successfully created wrappers for my react components, but now I'm trying to generate a list of components with *ngFor which I can't seem to get working. If needed, I can make a plunker or other sample app; just let me know, thanks.
Example from /angular-react/blob/master/apps/demo/src/app/app.component.html
This doesn't work:
This doesn't work:
This works:
The text was updated successfully, but these errors were encountered: