bulmaLoading: Show loading page

Description Usage Arguments Author(s) Examples

View source: R/bulma-loading.R

Description

Show loading page

Usage

1
bulmaLoading(title = "Loading", class = NULL)

Arguments

title

Title of loading page.

class

Any additional class.

Author(s)

John Coene, jcoenep@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
if(interactive()){
  ui <- bulmaPage(
    bulmaTitle("Loader"),
    bulmaSliderInput("slider", 50, 5, 100, step = 5),
    bulmaLoading(),
    bulmaContainer(
      plotOutput("plot")
    )
  )
  
  server <- function(input, output){
    data <- reactive({
      rnorm(input$slider, 10, 5)
    })
    
    output$plot <- renderPlot({
      hist(data())
    })
  }
  
  shiny::shinyApp(ui, server)
}

JohnCoene/shinybulma documentation built on Oct. 17, 2020, 8:57 p.m.