updateReactInput: Update 'React' input

View source: R/react.R

updateReactInputR Documentation

Update 'React' input

Description

Updates inputs created with the help of InputAdapter function (part of the JavaScript interface). Analogous to shiny::updateX() family of functions, but generic.

Usage

updateReactInput(session = shiny::getDefaultReactiveDomain(), inputId, ...)

Arguments

session

Session object passed to function given to shinyServer.

inputId

Id of the input object.

...

Props to modify.

Details

If you're creating a wrapper package for a 'React' library, you'll probably want to provide a dedicated update function for each input to imitate 'Shiny' interface.

Value

Nothing. This function is called for its side effects.


shiny.react documentation built on Dec. 28, 2022, 3:07 a.m.