Adding multiple class using ng-class

后端 未结 11 1478
不知归路
不知归路 2020-11-22 12:47

Can we have multiple expression to add multiple ng-class ?

for eg.

11条回答
  •  [愿得一人]
    2020-11-22 13:11

    Your example works for conditioned classes (the class name will show if the expressionDataX is true):

    You can also add multiple classes, supplied by the user of the element:

    Usage:

提交回复
热议问题