Input bindings
- Upon initialization, Shiny runs several JavaScript functions.
- Some of those functions are exposed through the Shiny JS object.
Let’s see an example:
- Run the below app.
Open the HTML inspector and the console you run
Shiny.unbindAll(document);
The plot will stop changing regardless how much you the slicer.
Run
Shiny.bindAll(document);
to take the app back to normality.