How to run a callback on opening and closing of the layout drawer using touch swipe.
I am trying to find the way to watch the changes or run the callback as soon I open or close the drawer swiping from the edge of the screen. I am only able to open/close it now through the click of the menu button which changes the toggleLeft method.
Having default events like @drawerClose or @draweOpen would be beneficial to run callback. Correct me If I am wrong
Yes, these events would be very useful. For now I think you can watch the model of your layout