angular2gridster icon indicating copy to clipboard operation
angular2gridster copied to clipboard

Add new item and position item on last side

Open julianodev opened this issue 6 years ago • 1 comments

Hello, how can I do to when adding a new item, position the side of the last one?

julianodev avatar Jul 26 '18 20:07 julianodev

Hi, I'm not sure what you mean. If you want to add a new item in the first available space on the board, then just push new item in the array assigned to girdster-items without any coordinates (x, y, ...). In that case, the library will find the first available space that fits new item and place it there.

swiety85 avatar Jul 28 '18 18:07 swiety85