haltu / muuri

Infinite responsive, sortable, filterable and draggable layouts
https://muuri.dev
MIT License
10.77k stars 643 forks source link

Reset grid layout? (draggable grid) #552

Open Davedo99 opened 1 year ago

Davedo99 commented 1 year ago

A function to reset the grid to the start layout on draggable grid's would be greatly appreciated!

If, because of performance, there isn't one yet, at least an option to save the starting layout would be great.

Thanks for your great library!

PS: I know that there is a grid method called 'refreshItems()', however I don't understand what it does and why it isn't working for my case.

Wishes from Austria, David