Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Suggestion: Add message option #28

Closed
philippnkling opened this issue Apr 5, 2019 · 5 comments
Closed

Suggestion: Add message option #28

philippnkling opened this issue Apr 5, 2019 · 5 comments

Comments

@philippnkling
Copy link

Hello,

I am really content with the Spinner options to display while rendering a page. However, I would really like to have an option to show a message in addition to the Spinner image, as the loading of the page might take some time. Other alternatives such as withProgress() (https://shiny.rstudio.com/articles/progress.html) seem to have this feature and I think this might enrich the Spinner application very much. What do you think? Did you find a workaround?

@daattali
Copy link
Owner

daattali commented May 3, 2020

If you can think of a good UI for this that would be robust to all cases, then a PR would be great

@laurenmarietta
Copy link

I would also love this feature! Currently working on a Shiny app that takes a while to load at startup, and would love in particular to have an initial loading message like "Loading data, please wait about 20 seconds..." and perhaps a simpler "Recalculating..." message for future loads after startup.

Without having looked into the shinycssloaders code, I imagine this could be achieved by adding another div to hold some text beneath the loader?

@jjalcolea
Copy link

Yep. I was looking exactly for this feature... 👍

@daattali
Copy link
Owner

daattali commented Mar 8, 2023

This is being worked on in #72

@daattali
Copy link
Owner

Solved with #72

You can use the caption parameter. It accepts either text (caption = "Please wait") or HTML (caption = div(strong("Loading"), br(), "Please wait"))

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants