View source: R/set_filtering_by_id.R
| set_filtering_by_id | R Documentation |
Enable reactlog functionality and remove data saved in temporary directory when app stops.
set_filtering_by_id()
This function must be used outside of the server
part of the app.
Used for side effect - enable reactlog and set up cleaning in temporary directory.
## Not run:
library(shiny)
shinybreakpoint::set_filtering_by_id() # TODO: remove
appServer <- function(input, output, session) {
observe({
input$num
}, label = "observe_print_num_input")
}
shinyApp(
ui = fluidPage(
theme = bslib::bs_theme(5),
numericInput("num", "Num", 0)
),
server = function(input, output, session) {
shinybreakpoint::shinybreakpointServer() # TODO: remove
appServer(input, output, session)
}
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.