UIkitProgress: Create an UIkit progress bar

Description Usage Arguments Author(s) Examples

View source: R/UIkitProgress.R

Description

Defines progress bars that indicate how far along a process is started

Usage

1

Arguments

value

Current value.

max

Maximum value.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
if(interactive()){
 library(shiny)
 shiny::shinyApp(
   ui = UIkitPage(
     title = "My UIkit application",
     sliderInput(
       inputId = "progressinput", 
       label = "Increase the progress bar",
       value = 1, 
       min = 0, 
       max = 10
     ),
     uiOutput("progress")
   ),
   server = function(input, output) {
     output$progress <- renderUI({
       UIkitProgress(
         value = input$progressinput,
         max = 10
       )
     })
   }
 )
}

DivadNojnarg/shinyUIkit documentation built on July 24, 2019, 8:17 a.m.