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


[Package shiny.react version 0.3.0 Index]