Update a progress_386 on the client
Usage
update_progress_386(id, value, session = shiny::getDefaultReactiveDomain())
Examples
if (interactive()) {
library(shiny)
library(shiny386)
ui <- page_386(
button_386("update", "Update"),
br(),
progress_386(id = "progress1", 12)
)
server <- function(input, output, session) {
observeEvent(input$update, {
update_progress_386(
id = "progress1",
sample(1:100, 1)
)
})
}
shinyApp(ui, server)
}