You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: