2、里面需要传3个参数,分别是el,column,gap:父盒子(css选择器),一行显示几个(number),盒子间的间距(number) Packages

ng2-drag-and-check

(https://www.npmjs.com/package/ng2-drag-and-check) Angular directive (for version >= 2.x ) that makes the DOM element draggable, with additional checks on out of bounds elements. All credits should go to xieziyu for his ground work.

1.1.2 • Published 8 years ago