Currently, I purchased the Metronic 8 theme and use the demo1 React theme of it on my React project. I created a Drawer and want to run some functions in hide event of that drawer.
The id of that drawer is "kt_drawer_notification" and was defined as follows:
<div
id='kt_drawer_notification'
className='bg-white'
data-kt-drawer='true'
data-kt-drawer-name='notification'
data-kt-drawer-activate='true'
data-kt-drawer-overlay='true'
data-kt-drawer-width="{default:'100%', 'sm': '403px'}"
data-kt-drawer-direction='end'
data-kt-drawer-toggle='#kt_drawer_notification_toggle'
data-kt-drawer-close='#kt_drawer_notification_close'
>
...
</div>
Please share your method for the hide event of a drawer.