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

feat: auto start rough notation animation on slide change #5

Closed
wants to merge 2 commits into from
Closed

feat: auto start rough notation animation on slide change #5

wants to merge 2 commits into from

Conversation

mcanouil
Copy link
Contributor

@mcanouil mcanouil commented Sep 12, 2022

This PR adds an event listener to draw the rough notation on slide changes (see https://revealjs.com/events/).
(It keeps the key binding by naming the function and reusing it for both events, although with the auto start feature, the key binding is useless.)

Fixes #2

@EmilHvitfeldt
Copy link
Owner

I would use something like slide states instead of slidechanged, this way the user can do something like this to selectively apply it to slides

## No auto

## Yes auto {.rn-auto}

@mcanouil
Copy link
Contributor Author

I see, this could also be a global yaml option with the implementation you suggest.

@mcanouil
Copy link
Contributor Author

I am closing this PR 😉

@mcanouil mcanouil closed this Oct 24, 2022
@ChoCho66
Copy link

ChoCho66 commented Oct 5, 2023

I want to ask a stupid question.
How to use this slidechanged function?
Or how to use this "auto start rough notation"?

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.

Add auto apply method for slides
3 participants