| .resolve | R Documentation |
@description
When select input at position i changes:
All slots after position i in picks_resolved are reset to their unresolved (delayed) state,
because later slots depend on earlier ones. Slots before and at position i are kept as-is.
For example, changing variables (i=2) resets everything after it but keeps dataset (i=1) intact.
The new selection replaces the old value at slot i.
Resolve is called, which evaluates only the slots that are still in an unresolved state.
The updated picks replace the current reactiveValue.
Thanks to this design reactive values are triggered only once
.resolve(selected, slot_name, picks_resolved, old_picks, data)
selected |
( |
slot_name |
( |
picks_resolved |
( |
old_picks |
( |
data |
( |
The result of changing the picks_resolved reactiveVal given as argument.
It returns NULL if it does nothing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.