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

Two new fragment functions to check for next & prev without actually navigating #1639

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikemellor11
Copy link

@mikemellor11 mikemellor11 commented Jul 8, 2016

Needed for the use case below:

Reveal.addEventListener( 'fragmentshown', function( event ) {
    if(!Reveal.isAutoSliding()){
        Reveal.configure({autoSlide: 400});
    }

    if(!Reveal.hasNextFragment()){
        Reveal.configure({autoSlide: 0});
    }
});

Verified

This commit was signed with the committer’s verified signature.
cderv Christophe Dervieux
…navigating
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

Successfully merging this pull request may close these issues.

None yet

1 participant