Skip to content
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

Add callback events for beforeSlide and afterSlide #2

Closed
brandoniffert opened this issue Mar 28, 2012 · 3 comments
Closed

Add callback events for beforeSlide and afterSlide #2

brandoniffert opened this issue Mar 28, 2012 · 3 comments

Comments

@brandoniffert
Copy link

It would be nice if developers could supply a callback function for before and after slide.

@nicinabox
Copy link
Owner

There is currently an event after slide (slides.animated) that you can bind to.

$('body').on('slides.animated', function() {
  console.log('slide animated')
}

I could add an additional event before animation begins as well.

@brandoniffert
Copy link
Author

Great. Missed that in the docs. Thanks for the plugin, love how simple it is.

@nicinabox
Copy link
Owner

Woohoo! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants