我想在不使用css样式的情况下随机自定义md-chip的颜色。md-chip指令中是否有任何属性?
<md-chips placeholder="Add more tags here"
secondary-placeholder="Enter tags here" ng-model="contact.contact.tags.attrVal" md-on-add="contact.createTag(contact.contact)" md-on-remove="contact.removeTag(contact.contact)"></md-chips>发布于 2016-04-06 15:46:39
您可以使用ng样式。i.e
ng-style={background-color:'red'}发布于 2016-06-22 03:29:47
请参见Angular材质的github上的Issue 8692。这似乎是一个目前正在解决的已知问题。
https://stackoverflow.com/questions/35480159
复制相似问题