powered by
Creates a handler which can be used for onClick and similar props of 'React' components to trigger an event in 'Shiny'.
onClick
triggerEvent(inputId)
A ReactData object which can be passed as a prop to 'React' components.
ReactData
'Shiny' input ID to trigger the event on.