12 lines
330 B
Handlebars
12 lines
330 B
Handlebars
<div
|
|
class="flex-masonry {{if @withSpacing "with-spacing"}} flex-masonry-columns-{{@columns}}"
|
|
{{did-insert this.captureElement}}
|
|
{{did-insert this.reflow}}
|
|
{{did-update this.reflow}}>
|
|
{{#each @items as |item|}}
|
|
<div class="flex-masonry-item">
|
|
{{yield item (action this.reflow)}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|