daattali / shinycssloaders

⌛ Add loading animations to a Shiny output while it's recalculating
https://daattali.com/shiny/shinycssloaders-demo/
Other
399 stars 45 forks source link

No showPageSpinner function Error #93

Closed hlblade closed 3 weeks ago

hlblade commented 1 month ago

When I try to run the demo code, I get a No showPageSpinner function Error. `library(shiny) library(shinycssloaders)

ui <- fluidPage( actionButton("go", "Go"), plotOutput("plot") ) server <- function(input, output) { observeEvent(input$go, { showPageSpinner() Sys.sleep(1) hidePageSpinner() }) output$plot <- renderPlot({ plot(runif(10)) }) } shinyApp(ui, server)`

daattali commented 4 weeks ago

Are you sure you're using the latest version of the package?

daattali commented 3 weeks ago

@hlblade what version of shinycssloaders are you using?

hlblade commented 3 weeks ago

I was previously using version 1.0.0 and just found out that the latest version is 1.1.0. After updating, everything is running smoothly. Please forgive my carelessness and thanks very much for your great work. I wish you all the best.