How to know if the SideMenu was opened by drag/swiping?


#1

Is there a way to know in real-time if a SideMenu was opened by swiping or dragging?

There is a button that opens the SideMenu:

$scope.showRightMenu = function () {
   $ionicSideMenuDelegate.toggleRight();
};

But I can also open by swiping or dragging the content.

So is there an event listener or something that knows when the SideMenu was opened by swiping or dragging the content?