I hope this is one of the basic conditional classes. Solution: 1 <section [ngClass]="(condition)? 'class1 class2 ... classN' : 'another class1 .
確定! 回上一頁