View source: R/input-selectImage.R
This function works only with bootstrap for now
1 2 3 4 5 6 7 8 9 | selectImageInput(
inputId,
label,
choices,
images = NULL,
selected = 1,
placeholder = NULL,
width = 120
)
|
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.