Muuri: More usage examples and demos

Created on 27 Sep 2016  路  7Comments  路  Source: haltu/muuri

Would be great to have detailed usage examples with working demos.

enhancement help wanted

Most helpful comment

I created a codepen collection for all Muuri demos: https://codepen.io/collection/AWopag/. There's not much there yet, but I'll try to add more demos there little by little. Below's a list of demo's I'm planning to add there in the near future. If you have some other demo ideas you're welcome to add your idea here. An if you're up to building a demo yourself just add a link to it here and I'll add it to the collection.

Must have demos

  • [x] Images in items
  • [x] Links in items
  • [x] Horizontal grid
  • [x] Custom layout

All 7 comments

how to have multiple muuris? fixing this would solve my other problem

how to have multiple muuris? fixing this would solve my other problem

http://codepen.io/niklasramo/pen/wJKMQz

I created a codepen collection for all Muuri demos: https://codepen.io/collection/AWopag/. There's not much there yet, but I'll try to add more demos there little by little. Below's a list of demo's I'm planning to add there in the near future. If you have some other demo ideas you're welcome to add your idea here. An if you're up to building a demo yourself just add a link to it here and I'll add it to the collection.

Must have demos

  • [x] Images in items
  • [x] Links in items
  • [x] Horizontal grid
  • [x] Custom layout

Could somebody who knows how to do nesting using Muuri share some thoughts please 馃憤
For example: a subentry in Kanban board.

@SLiNv There actually is a an example of nesting in the kanban demo on muuri's website. Try sorting the kanban columns by dragging the columns' titles. The kanban board itself is a muuri instance and each column inside the board contains a muuri instance. The kanban code itself is pretty contained so you should be able to get an understanding on how it's done: https://github.com/haltu/muuri/blob/gh-pages/scripts/demo-kanban.js

@niklasramo Yes, I notice that the kanban demo is nested, but I'm working to achieve something like this:
capture
where an entry can be a indented sub entry of another.

Could you please point out what parameters or functions I should look at? Thanks.

The codepen collection has plenty of examples nowadays to get started. It's still missing examples on how to do advanced nesting, but let's add demo of that later on.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

niklasramo picture niklasramo  路  4Comments

who519 picture who519  路  7Comments

dedurus picture dedurus  路  4Comments

ppwfx picture ppwfx  路  4Comments

argie09 picture argie09  路  6Comments