-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Close button on menu? #55
Comments
Thanks @rubaff. Is the changeState function what you were hoping for? |
Thanks for the response @ascott1. How can I use the function with a click? If changeState is changed the menu closes? Do you have a code snippet at hand? Thanks again! |
Same question ^^^ |
This isn't the most elegant way to do things (particularly since we have to manually assign $(document).ready(function() {
$('.menu-link').bigSlide();
this.$menu = $('#menu');
this.$push = $('.push');
var bigSlideAPI = ($('.menu-link').bigSlide()).bigSlideAPI;
$('h1').click(function() {
bigSlideAPI.view.toggleClose();
});
}); One catch is that if you're simulating something like I hope that's useful! |
HI Adam, Thanks a lot for this solution, i’ll give it a try. Marnix
|
Thanks @ascott1! I'm using it like this now - working perfectly fine!
|
Great! |
Thanks for the great plugin. I use it a lot!
Is there a native function for a "close"-button on the menu or do I need to fake the click via jquery and easyclose?
Thanks!
The text was updated successfully, but these errors were encountered: