我想有条件地为 angular 2 bootstrap 选项卡设置一个 customClass,但只看到它设置了一个静态值。
是否可以有条件地设置 customClass? http://valor-software.com/ngx-bootstrap/#/tabs
html:这有效:
<tab index="1" customClass="myCustomClass">
这是我想做的,但它不起作用:
<tab index="1" customClass="myCustomClass: myConditionIsTrue">