KAMISHIBAI | This project is the most flexible and simplest Navigation | Navigation library
kandi X-RAY | KAMISHIBAI Summary
kandi X-RAY | KAMISHIBAI Summary
The feature of KAMISHIBAI's Navigation Service is that it is not a monolithic structure. Navigation is separated into two roles. Please see specific examples.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of KAMISHIBAI
KAMISHIBAI Key Features
KAMISHIBAI Examples and Code Snippets
Community Discussions
Trending Discussions on KAMISHIBAI
QUESTION
In my previous question link and thanks to the answer of @Elma Cherb I learned how to use ngStyle to solve my problem.
I need to expand the question to be able to change my code in a way that allows me to use interpolation to change # card10 for a combination with the index such as "#card" + index. Or use the previous solution but with multiple parameters not only with two.
...ANSWER
Answered 2019-Jun-23 at 19:38You can't use interpolation for it.
You should use the same name - #card
for all of them, and then get those elements in the ts file by using ViewChildren
I forked your stackblitz and edited it to work here.
The code should look like.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install KAMISHIBAI
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page