Skip to content

How can pass a variable to the nzExtra template on Collapse element? #8554

Discussion options

You must be logged in to vote

Hi @emanuelbadaceanu,
You haven't shared your code, so I can't say for sure why there is an extra gear icon displayed in your nzExtra section; as for the other issue, you have to put you ng-template inside the @for, and your panels array should have the id you want to show.
This way you can show an id for each of them. Check this link for the code sample.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by emanuelbadaceanu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants