Example 2:
Callback after animation has finished

domLastic.init ({
  itemsClassnameToConnect: 'item',
  callback: function() {
    console.log( 'anim finished');
  }
});
//on click after element was removed...
domLastic.animateItems();

单击删除项目

FloralWhite
Khaki
SandyBrown
Gainsboro
MediumSeaGreen
Sienna