Juicy / juicy-tile-grid

Masonry-like Custom Element for sortable tiles that packs efficiently without changing HTML structure (changes CSS only), and adapts it to CSS Grid Layout. Extended renderer for juicy-tile-list.
http://juicy.github.io/juicy-tile-grid/
MIT License
8 stars 1 forks source link

Use "first break point" #9

Closed tomalec closed 9 years ago

tomalec commented 9 years ago

With fractions (flexible sizes) and disabled repack on resize, element/container size on first packing - page load, determines the entire layout. Therefore we need a way to provide a initial value as a context for packing, and generating CSS configuration, so we could get the same CSS result on different window/container sizes behore we will have

What we came out with @warpech as a good starting point, is to use setup.width(if provided) for that, so the juicy-tile-editor could use existing input control.