adgsm / multi-level-push-menu

MultiLevelPushMenu jQuery Plugin implementation
http://multi-level-push-menu.dzunic.net
804 stars 212 forks source link

Reverse sliding direction #184

Open izouki opened 6 years ago

izouki commented 6 years ago

Hello,

I would like to "reverse" the menu, while keeping it on the left side. I tried the direction : 'rtl' option with backItemIcon: 'fa fa-angle-left' and groupIcon: 'fa fa-angle-right', but this led to several issues when collapsing the menu.

Does anyone knows what part of the code of jquery.multilevelpushmenu.js handle the sliding direction when clicking on a menu item containing sub-elements (like Devices in the example) and the "Back" button ?

Thanks a lot for your help !

adgsm commented 6 years ago

It will maybe a good idea to start looking at expandMenu and collapseMenu methods and then find in there what you need.