0

https://stackoverflow.com/a/43306621/10593587. Is there an example for this one. As I am new to Angular I am unable to add "<div {{ dynamicVar !== '' ? 'col-'+dynamicVar : '' }} > </div>" in the component template

2
  • Please expand your question to contain all the relevant information as opposed to referencing another SO question. And add enough of your code attempt so it can been seen what you have tried. Commented Nov 1, 2018 at 22:49
  • As per the question you linked, you're missing: [ngClass]= Commented Nov 2, 2018 at 1:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.