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
↻