triggerEvent | R Documentation |
Creates a handler which can be used for onClick
and similar props of 'React' components
to trigger an event in 'Shiny'.
triggerEvent(inputId)
inputId |
'Shiny' input ID to trigger the event on. |
A ReactData
object which can be passed as a prop to 'React' components.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.