Description Usage Arguments Value
View source: R/dropdownButtonInput.R
Dropdown button Shiny input widget
1 2 |
inputId |
The input slot that will be used to access the value. |
label |
The contents of the button or link<e2><80><93>usually a text label, but you could also use any other HTML, like an image. |
elements |
A list of elements to display in the dropdown menu when the button is clicked. Each element in the list can be one of 3 things: (1) a named value, in which case the name will be displayed and the input bound to value when it is clicked, (2) a shiny.tag object, which is displayed as-is, or (3) NA which inserts a divider. |
width |
Forced width for the dropdown menu. |
class |
Additional element classes |
icon |
An optional |
... |
Additional attributes sent to |
Shiny tag list suitable for use in a Shiny UI.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.