I would like to close the side menu with a custom button and not just through the div overlay
Hello. I am using Jet HTML PRO.
When opening the side menu, it closes when we click on the overlay, however I would like to add a close button to the menu.
Is this possible?
Hi,
You can set data-kt-menu-permanent="true"
attribute to the sub menu to prevent it from closing.
To close the submenu just use the below code:
KTMenu.hideDropdowns();
Hi,
Could you please provide more info? Which Metronic version, demo, and framework(HTML, React, Vue, Angular, etc) are you using?
Do you like to close the sidebar panel with a button click? Please provide more specific info.
Regards.