Muuri: [Question] Disable Masonry Layout and do pure left to right layout

Created on 15 Jun 2017  路  4Comments  路  Source: haltu/muuri

Hi @niklasramo,
Currently, we only have options for layout as mentioned in https://github.com/haltu/muuri#layout-

Is pure left to right supported?

Here's the screenshot

screen shot 2017-06-15 at 5 29 31 pm

question

Most helpful comment

I know this thread has been closed, but for future users who may have similar needs, I edited the codepen provided by niklasramo to provide a better example of the layout requested by the OP. You can find the custom layout here: https://codepen.io/pauldstar/pen/LzEdmp

All 4 comments

Nope, that kind of layout is not baked into Muuri. However, as advertised, you can provide your own layout algorithm. Here's an example how to do it: https://codepen.io/niklasramo/pen/LLbLLd. The example is a bit stupid and not practical at all, but it shows you how to fully customize the layout.

Thank you for showing where to make override. I will close this issue :)

I know this thread has been closed, but for future users who may have similar needs, I edited the codepen provided by niklasramo to provide a better example of the layout requested by the OP. You can find the custom layout here: https://codepen.io/pauldstar/pen/LzEdmp

I know this thread has been closed, too, but did anybody do anything similar with never versions of Muuri?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dedurus picture dedurus  路  4Comments

emilime93 picture emilime93  路  5Comments

Sashkan picture Sashkan  路  3Comments

niklasramo picture niklasramo  路  4Comments

PrestaShark picture PrestaShark  路  7Comments