Hi Themeco,
I’d like to add custom html links, buttons and content to Off Canvas and Modals. When these items are clicked/selected I’d like to close the Off Canvas and Modals and the page update content or direct to new page for urls.
I see there are css classes x-off-canvas-close and x-modal-close for the Off Canvas and Modals Close.
If I add a class my-custom-close, what would be base JavaScript to effectively replicate the behaviour clicking the x-off-canvas-close and x-modal-close?