| option_list | R Documentation |
A scrollable list of choices. Up/Down/Page Up/Page Down/Home/End move the
highlight (sending "option_list.highlighted"); Enter or a click selects
("option_list.selected"). event$data has index, value and
label.
option_list(choices, id = NULL, classes = NULL, style = NULL)
choices |
A character vector. Names, if present, are shown instead of the values. |
id |
Optional identifier. |
classes |
Optional classes. |
style |
A |
An OptionList widget with field value.
option_list(c(Comma = "csv", JSON = "json", Parquet = "parquet"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.