View source: R/dropdownButton.R
dropdownButtonMod | R Documentation |
Button is wrapped in input-group-btn class to allow inline with forms. Also includes title parameter.
dropdownButtonMod(
...,
circle = TRUE,
status = "default",
size = "default",
icon = NULL,
label = NULL,
tooltip = FALSE,
right = FALSE,
up = FALSE,
circle_class = "",
width = NULL,
margin = "10px",
inline = FALSE,
inputId = NULL,
title = NULL,
style = ""
)
... |
List of tag to be displayed into the dropdown menu. |
circle |
Logical. Use a circle button |
status |
Add a class to the buttons, you can use Bootstrap status like 'info', 'primary', 'danger', 'warning' or 'success'.
Or use an arbitrary strings to add a custom class, e.g. : with |
size |
Size of the button : default, lg, sm, xs. |
icon |
An icon to appear on the button. |
label |
Label to appear on the button. If circle = TRUE and tooltip = TRUE, label is used in tooltip. |
tooltip |
Put a tooltip on the button, you can customize tooltip with |
right |
Logical. The dropdown menu starts on the right. |
up |
Logical. Display the dropdown menu above. |
width |
Width of the dropdown menu content. |
margin |
Value of the dropdown margin-right and margin-left menu content. |
inline |
use an inline ( |
inputId |
Optional, id for the button, the button act like an |
title |
title attribute for button |
shiny.tag
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.