Skip to content

FR: UI pageSpinner #99

@ismirsehregal

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)

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