Answers for "ngstyle with ngif"

0

ngstyle with ngif

<div [style.background-image]="value ? 'url(' + imgLink + ')' : 'url(' + defaultLink + ')'"></div>
Posted by: Guest on March-02-2022

Browse Popular Code Answers by Language