Make gridster.js tiles stick in specific grid positions (snap to grid)

前端 未结 4 879
名媛妹妹
名媛妹妹 2021-02-19 06:38

is there any way to make Gridster.js tile(s) stick, that is not move up vertically to fill empty space. Kind of like the way a layout program with snap-to-grid turned on works..

4条回答
  •  长情又很酷
    2021-02-19 07:16

    You may also be interested in the following prototype from my team: https://github.com/ibmjstart/gridplumb

    Specifically, the modifications to grister can be found at https://github.com/ibmjstart/gridplumb/blob/master/src/extend-gridster.js

提交回复
热议问题