ng-class accepts an "expression" that must evaluate to one of the following:
- a string of space-delimited class names
- an array of class names
- a map/object of class names to boolean values
... HTML to display the item ...
...
本文共 330 字,大约阅读时间需要 1 分钟。
ng-class accepts an "expression" that must evaluate to one of the following:
... HTML to display the item ...
...
转载于:https://www.cnblogs.com/lindsayzhao103011/p/3345647.html