In this chapter, we used JavaScript to read and write the DOM, and send messages back and forth with the server. We explored how to get the most out of the shinyjs package, as well as how to listen for events with JavaScript. Lastly, we talked about the htmlwidgets package, and showed some examples of some of the graphics you can produce using htmlwidgets-enabled R packages.
In the next chapter, we will look at how to build dashboards in Shiny.