haltu / muuri

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

How to dynamically add grid sub elements? #443

Closed kkueo123456 closed 3 years ago

kkueo123456 commented 3 years ago

my grid is v-for an Array,How can I add elements to the array and add one more grid to the page?

niklasramo commented 3 years ago

@kkueo123456 I suppose you are using Muuri with Vue? If you are using some Vue specific wrapper library please ask the question in the wrapper library's issues. If not, please provide at least a reduced test case of your code (e.g. in codepen or codesandbox) so that it is easy to debug for anyone who is willing/able to help you out :)