Skip to content

v0.2.0

Compare
Choose a tag to compare
@dennisameling dennisameling released this 30 Sep 12:22
· 15 commits to master since this release

This version introduces support for removing grid elements 馃殌

Let's say if you have the following code:

<button id="add-item-button" (click)="addToGrid()">+ Add new block</button>
<br><br>
<div #grid class="grid" muuriGrid [config]="layoutConfig">
    <div class="grid-item" muuriGridItem *ngFor="let item of blockItems">
        <div class="grid-item-content">
            {{ item }}
        </div>
    </div>
</div>

If you now remove an item from the blockItems array, the corresponding Muuri grid item is also removed.