set_filtering_by_id: Set Option to Filtering by Id

View source: R/set_filtering_by_id.R

set_filtering_by_idR Documentation

Set Option to Filtering by Id

Description

Enable reactlog functionality and remove data saved in temporary directory when app stops.

Usage

set_filtering_by_id()

Details

This function must be used outside of the server part of the app.

Value

Used for side effect - enable reactlog and set up cleaning in temporary directory.

Examples

## 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)

gsmolinski/shinybreakpoint documentation built on Jan. 13, 2023, 12:48 a.m.