Description Usage Arguments Value
View source: R/on_bart_action.R
Controls which variables are stored in case of different events such as a saved balloon or a popped balloon.
1 2 3 4 5 6 7 8 | onBartAction(
id,
ctrlVals,
inputList,
bartCtrlList,
balloonList,
nextPageId = NULL
)
|
id |
string. Controls what action should be executed (e.g. append values or go to next page). Must be one of "nextballoon", "next_page", "popped" or saveballoon. |
ctrlVals |
list of reactive values. Controls the flow through the
Experiment. Can be created with |
inputList |
The input object from the shiny app. |
bartCtrlList |
list of reactive values. Used for task control. Create
with |
balloonList |
list. Output of |
nextPageId |
string. Id of next page that should be displayed. Only needed if id is "next_page". |
Updated ctrlVals and bartCtrlList. Doesn't need to be assigned, since both are reactive values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.