Introductory example

The Shiny app:

  • actionButton() (sends a message from the client (JS) to the server (R))

    • Triggers an observeEvent() (processes message and updates the R server)
      • Fires updateSlideInput()(sends a message back to the client containing the id of the input to update)
  • sliderInput()

    • (JS receives the message and updates the corresponding input element)
    • (JS sends the new input value to the server)