reloadUI <- function(id) {
ns <- NS(id)
tags$li(
actionButton(ns("button"), "", icon = icon("redo")),
class = "dropdown user user-menu"
)
}
reloadModuleServer <- function(id) {
moduleServer(
id,
function(input, output, session) {
reactive({
# req(!is.null(input$reloadData))
input$button
})
}
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.