inst/app/server/close_interp.R

# #### Observer used to close the interp tab and clean up the environment
observeEvent(input$close_interp_button, {
  # shinyjs::js$closeWindow()
  shinyjs::js$resetApp()
})

observeEvent(input$close_app_button, {
  shinyjs::js$closeWindow()
  # shinyjs::js$resetApp()
  stopApp()
})
ranghetti/guinterp documentation built on March 30, 2024, 3:42 a.m.