That's the normal structure for ngClass is: [ngClass]="{'classname' : condition}". So in your case, just use it like this... <ol class="breadcrumb"> <li ...
確定! 回上一頁