Learn R Programming

shinyMobile (version 0.7.0)

f7Progress: Create a Framework7 progress bar

Description

Build a Framework7 progress bar

Usage

f7Progress(id, value, color)

Arguments

id

Progress id. Must be unique.

value

Progress value. Between 0 and 100.

Examples

Run this code
# NOT RUN {
if(interactive()){
 library(shiny)
 library(shinyMobile)

 shiny::shinyApp(
   ui = f7Page(
    title = "Progress",
    f7SingleLayout(
     navbar = f7Navbar(title = "f7Progress"),
     f7Block(
     f7Progress(id = "pg1", value = 10, color = "pink"),
     f7Progress(id = "pg2", value = 100, color = "green"),
     f7Progress(id = "pg3", value = 50, color = "orange")
    )
    )
   ),
   server = function(input, output) {}
 )
}

# }

Run the code above in your browser using DataLab