AngularJS 设置元素样式,代码如下:
<div class="panel-body" ng-style="{display: '{{date.display}}'}">
<div ng-style="{height: '{{data.height}}px'}"></div>
</div>
AngularJS 设置元素样式,代码如下:
<div class="panel-body" ng-style="{display: '{{date.display}}'}">
<div ng-style="{height: '{{data.height}}px'}"></div>
</div>