Open totomtornado opened 6 years ago
Also i would love an event handler for detecting when menu items open...
Hmmm... i may be overthinking this.
I think i will just use my own jquery to detect clicks
I am not familiar with prototyping code but I believe I can use this...?
SlideMenu.prototype.isOpen = function() { return this.$element.hasClass(CLASSES.ACTIVE); };
Then just use something like...
$(".slide-menu").slidemenu.isOpen();
Then that would return something if open, right?
I would like to open this menu sometimes from code. Any help would be appreciated!!