library(shiny)
ui <- fluidPage(
renderTimeInput_UI("time"),
checkboxInput("check", "Render?"),
verbatimTextOutput("raw")
)
server <- function(input, output, session) {
is.check <- reactive({input$check})
renderTimeInput_Server("time", render_lgl = is.check())
output$raw <- renderPrint({ input$check })
}
shinyApp(ui, server)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.