v0.3.0
This version adds the following two features:
- Automatically rebuild the grid when the GridOptions config changes
- Add new event: itemCreated
New event: itemCreated
You can now get the grid item when it is created:
app.component.html
<div muuriGridItem (itemCreated)="onItemCreated($event)"></div>
app.component.ts
import Item from 'muuri';
onItemCreated(item: Item) {
// Now you can do anything you want with the grid item
}