-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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
Before change hooks #3003
Comments
I've wanted a preventable event like this myself in the past. Just pushed a first iteration of it to master. // This will prevent all slide changes
Reveal.addEventListener( 'slidechange', e => e.preventDefault() ) What should this event be called? |
|
I've renamed to |
it would be great if there was information about the direction in the event. Something like: |
Is it possible to add a before slide change hook, so that you can stop a slide change doing it's default functionality and move to a different a slide entirely?
The text was updated successfully, but these errors were encountered: