Example 3:
Horizontal animation with custom parameters.
Conntect any DOM element like Images...
domLastic
.init
({
itemsClassnameToConnect:
'item',
itemsJointStrength:
10
,
//value optimum between 10 - 100
animationSpeed:
500
,
//value optimum 300 - 1000
animationIntensity:
0.6
,
//value optimum optimum 0.5 - 1
animationDirection:
'horizontal'
});
//on click after element was removed...
domLastic
.animateItems();
单击以删除项目
FloralWhite
Khaki
SandyBrown
Gainsboro
MediumSeaGreen
↻
下载代码
说明
X关闭
DomLastic.js点击删除项目弹性动画插件
一款基于DomLastic.js弹性动画插件制作的jQuery点击删除项目弹性动画代码,它可以为HTML元素添加弹性动画特效效果。你可以管理一组DOM元素,使它们具有物理弹性效果。这个效果就像iOS系统的信息在滚动时的弹性效果,非常炫酷。