"with"绑定更新之前的动画 [英] Animation before 'with' binding update

查看:52
本文介绍了"with"绑定更新之前的动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用"with"绑定,我想在更改值之前和之后调用一些动画.有没有人知道该怎么做?

I'm using "with" binding and I would like to invoke some animation before change value, and after that. Does any body know how to do it?

推荐答案

我通过创建可创建元素副本的绑定解决了问题.克隆此元素后,我对其进行动画处理,然后删除它,并使用新值对原始元素进行动画处理.在 with

I'm resolved problem by creating binding that create copy of the element. After clone this element I animate it and after that I'm delete it and animate orginal element with new values. It is important to set this binding before with

这篇关于"with"绑定更新之前的动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆