-
Notifications
You must be signed in to change notification settings - Fork 76
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
Allow live update of slides menu #37
Comments
This is currently not available, it's not a use case I considered. To do properly will most probably require some refactoring of the code. I'll add it to the list. |
Thanks for your reply. My particular use case is to load a markdown file from within the presentation (see https://rajgoel.github.io/reveal.js-demos/markdown-viewer.html). Thus, in fact I would only need to be able to delay the initialization of the menu creation until the file is loaded. Do you think this is easier? |
I've implemented the interim functionality of delaying initialisation in the delay-init branch (af24352). It would be appreciated if you could test this against your use case and let me know if it suits. |
Works just as expected for me 🥇 Thanks a lot! |
Thanks. I've merged this into the dev branch. I'll leave this issue open as it would be worthwhile to fully implement the re-initialisation of the menu. |
It would be great if it would be possible to re-initialize the slide menu, if slides are added dynamically. Would it be possible to add a respective API (or is this already possible and I haven't figured out how to do so)?
The text was updated successfully, but these errors were encountered: