Progress Bar independent from pagination #93
Unanswered
volysandro
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Marp CLI has already provided an easy solution for a progress bar within HTML presentation. Have you tried Any presentation contents including page number should work normally because this progress bar is working on the outside of the context for Marp presentation. In the other hand, it's difficult to apply your custom style so might not be matched to your advanced wants, such as the progress bar in the footer ( |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
So I am kind of stuck on a subject. I would like to create a progress bar in the footer, which is calculated directly from the pagination so:
data-marpit-pagination / data-marpit-pagination-total * 100 and then create a simple colored div from there.
How would I go about this, if I still want to keep the original pagination number (bottom right for me)?
I am not posting this because I want you to do it for me, I am posting it because I went really deep into the source and literally didn't find anything I could abuse for this 🤣 So thanks in advance for any help and pls be kind to me if this is an easy solve 🙈
Beta Was this translation helpful? Give feedback.
All reactions