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.
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.
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.