Update select image input
1 2 3 4 5 6 7 8 | updateSelectImageInput(
session,
inputId,
label = NULL,
choices = NULL,
images = NULL,
selected = NULL
)
|
session |
Shiny session |
inputId |
The input slot that will be used to access the value. |
choices |
List of values to select from, when named the names are appended to the right of the image. |
images |
List of image location that can be put in a src attribute. |
selected |
Selected image, defaults to first one. |
placeholder |
HTML to render as placeholder, overrides selected param. |
width |
width in of input. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.