anglejs appファイルで計算が行われていますが、HTMlフォームの値を変更するたびに計算結果がスパンブロックreloader_block
に反映され、anglejsで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