triggerEvent {shiny.react} | 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.