Hi,
I would like to dismiss a drawer component on keypress. What is the function to be called to dismiss a metronic drawer from code?
Thanks in advance!
Tamas
I have managed to make it work with this:
const drawer = DrawerComponent.getInstance("id_of_drawer")
drawer?.hide()
Hi,
Glad to hear that you already figurated this out. All the best with your project!
Let me know if you will need any additional help.
Regards,
Lauris Stepanovs,
Keenthemes Support Team