我在angularjs应用程序文件中进行了计算,基本上每当我更改HTMl表单中的值时,发生的情况都是如此,计算结果反映在跨度块reloader_block
中,如何在angularjs中刷新div
我想要做的是我想添加动画,以便整个跨度块应该闪烁,用户应该注意到它。
像例如,跨度块应该在几毫秒内淡出和淡入。
我该怎么做?
$scope.refreshDiv = function() {
//here i want to refresh the span block `reloader_block`
};
HTML:
<span class="block reloader_block">
Here is how you can Walden this product:
You will have to share it with <B>{{sharable_with}}</b> users. Each one of you will have to give us <b>{{walden_costs}}</b>/-
Each of you will get to use the product for <b>{{usage}}</b> days after every <b>{{cycle}}</b> days
after <b>{{product_warranty}}</b> year(s) we will auction the product at <b>30%</b> of MRP.
{{priceful}}
</span>
怎么样调用refreshDiv成一个简单的$看? – chf