2020-09-29 21:20:34 +00:00
|
|
|
<div
|
|
|
|
class="flex-masonry {{if @withSpacing "with-spacing"}} flex-masonry-columns-{{@columns}}"
|
|
|
|
{{did-insert this.captureElement}}
|
|
|
|
{{did-insert this.reflow}}
|
2020-10-08 05:18:43 +00:00
|
|
|
{{did-update this.reflow}}
|
|
|
|
{{window-resize this.reflow}}>
|
2020-09-29 21:20:34 +00:00
|
|
|
{{#each @items as |item|}}
|
|
|
|
<div class="flex-masonry-item">
|
|
|
|
{{yield item (action this.reflow)}}
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|