Skip to content

Latest commit

 

History

History
 
 

close-window

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Close the window (and stop the app) with a button click

This simple example shows how you can have a button that, when clicked, will close the current browser tab and stop the running Shiny app (you can choose to do only one of these two actions).

This example makes use of the shinyjs package to call custom JavaScript functions.