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 bespoke-visited class to any slide already visited #1

Open
mojavelinux opened this issue Sep 21, 2015 · 0 comments
Open

Add bespoke-visited class to any slide already visited #1

mojavelinux opened this issue Sep 21, 2015 · 0 comments

Comments

@mojavelinux
Copy link

It's typical to want interactions (such as fragments, bullets or animations) to only play the first time the slide is seen. If you return to the slide, you probably want it to show a fixed state (perhaps the final state). To allow plugins to respond to this status, slides that have already been visited should be marked as such using a CSS class.

I propose that the class bespoke-visited (or bespoke-seen) be added to any slide that has been previously viewed. I think the appropriate time to add the class is when the slide is being deactivated.

Naturally, what happens as a result of adding this class is up to the plugin author or presentation author (the beauty of Bespoke's modularity).

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

1 participant