Skip to contents

Creates a handler which can be used for onClick and similar props of 'React' components to trigger an event in 'Shiny'.

Usage

triggerEvent(inputId)

Arguments

inputId

'Shiny' input ID to trigger the event on.

Value

A ReactData object which can be passed as a prop to 'React' components.