slimmenu
slimmenu copied to clipboard
How to destroy Slimmenu / Problem with re-rendering
In my SPA app, I need to rebuild the menu as different page content gets displayed. I remove the navigation DOM content and re-render it then reinitialize slimmenu. This puts slimmenu in a confused/broken state - showing the menu_collapser even on wide screens when it should not, yet showing the items not full width. I have tried initializing slimmenu only the first time but then the navigation is not properly initialized upon re-render. For this use case, what is the proper way to fully unload/destroy a previous slimmenu instance?
same issue here :+1: