Skip to content

FR: UI pageSpinner #99

Description

@ismirsehregal

It would be great to have a pageSpinner function which can be used to show a pageSpinner on session start - similar to shinyjs::hidden() and shinyjs::hide().

With bigger server functions the showPageSpinner call is delayed, which could be avoided with a client side solution:

library(shiny)
library(shinycssloaders)

ui <- fluidPage()

server <- function(input, output, session) {
  Sys.sleep(3L)
  shinycssloaders::showPageSpinner()
}

shinyApp(ui, server)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions