I added some Custom Events for different purposes. They are all triggered by mutations of the grid children.
Add -> is triggered when children have been added
Remove ->is triggered when children have been removed
Initialized -> is triggered only once and called after the very first mutation of children has been made
I think its a good idea to let the parent component know that something happen. I guess Custom Event is the right approach since this is not invasiv and the parent component needs to subscribe to this.
I added some Custom Events for different purposes. They are all triggered by mutations of the grid children.
I think its a good idea to let the parent component know that something happen. I guess Custom Event is the right approach since this is not invasiv and the parent component needs to subscribe to this.