Example 1:
Init DomLastic and trigger animation on drag stop event

domLastic.init({
  itemsClassnameToConnect: 'item'
});
//if drag stopped...
domLastic.animateItems();

拖动下面的项目

FloralWhite
Khaki
SandyBrown
Gainsboro
MediumSeaGreen
MediumSeaGreen
Teal
YellowGreen
Sienna