SAPUI5中的动画 [英] Animation in SAPUI5

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

问题描述

我有两个矩阵布局。第一个包含像网格一样放置的七个图像。如何使用动画在第二个布局中垂直排列所有图像?

I have two matrix layout. The first one contains seven images placed like a grid. How can we arrange all the images vertically in the second layout with animation?

-谢谢

推荐答案

如果您能够1)检测到目标matrixlayrowcell的位置,2)分离源单元格的内容,3)将其附加到目标单元格,那无非就是只合并了一些CSS动画;-)

If you are able to 1) detect the location of your target matrixlayoutrowcells, 2) to detach the content of the source cell and 3) attach it to the target cell, than it's nothing more than just incorporating some CSS animations ;-)

请参见此示例sap.ui.commons.Image: http://jsbin.com/jafuk/1/edit

See this example of a moving sap.ui.commons.Image : http://jsbin.com/jafuk/1/edit

这篇关于SAPUI5中的动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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