Mark Kevin Baldemor

Results 125 comments of Mark Kevin Baldemor

Will create a branch 2.4 then you can base off with that branch for the PR.

Added feature and unit test via https://github.com/GwtMaterialDesign/gwt-material/commit/9552d1f813c3adfe6b85bbd80509a8bbcd2a8475

This is WIP atm I have updated the testsuite and try to make this solid.

For the Collapse and Expand event is registered to MaterialCollapsible, so we might want to step down to it's Collapsible Items for the required usecase.

I'll look into Materialize they implemented the same usecase you've described, The use case I've implemented is an upper level detection. So we might need to stay this issue open...

![image](https://user-images.githubusercontent.com/3138071/38988679-b6b9fcb8-4406-11e8-99aa-fdd52e39b59f.png)

We can probably hook into ``` materialize.js ``` but its not an ideal solution.

We can make use of MutationObserver to listen when the active classes has been changed to collapsible items and fire the specific events on it. https://caniuse.com/#feat=mutationobserver

For more details https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver