bigSlide.js
bigSlide.js copied to clipboard
Close without clicking
I am checking for breakpoints and when my body class is "sm", I want to trigger the menu to close automatically. How do I call this action? I want it to be something like:
if (viewport.is('sm')) {
//close here
}