library(shiny)
library(shinylogs)
shinyApp(
ui = fluidPage(
numericInput("n", "n", 1),
sliderInput("s", "s", min = 0, max = 10, value = 5),
verbatimTextOutput("lastChanged")
),
server = function(input, output, session) {
# specific to shinylogs
track_usage(storage_mode = store_null())
output$lastChanged <- renderPrint({
input$`.shinylogs_lastInput`
})
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.