Closed yoelii closed 8 months ago
You can wrap each output in a withSpinner()
, even if that output is in a render ui. For example:
output$output_test <- renderUI({
tagList(
withSpinner(tableOutput('data')),
withSpinner(plotOutput('plot'))
)
})
Thanks for your answer. I know I can wrap each output withSpinner()
but in my more complex app, my output is a map created by leaflet which I add a sliderTextInput and a knobInput "on" the map.
It will be better if the spinner can be for all the output gather.
There are no plans to support withSpinner()
to automatically work on multiple outputs.
However, in the dev/GitHub version (it's not on CRAN yet), you can use "Manually triggering the spinner" or the "Full-page spinner" features (you can read about them in the README)
Hi,
I try to use withSpinner with multiple output computed on server slide inside a renderUI. I try to simplify my problem with two output a datatable and a plot in the same renderUI in this little example :
But the spinnerdoes not appear even if the two output is simple.
And of course, it's not works in my true shiny app more complex ( a map created by leaflet and a knobinput in the output hidden if the analysis is not launched).
How can I use withSpinner function with multiple output ?
thanks in advance for your help and advice.