input_button | R Documentation |
Button inputs are useful as triggers for reactive or observer expressions.
The reactive value of a button input begins as NULL
, but subsequently is
the number of clicks.
input_button(id, label, ...)
input_link(id, label, stretch = FALSE, icon = NULL, ...)
id |
A character string. specifying the id of the reactive input. |
label |
A character string specifying the label text on the button or link input. |
... |
Additional named arguments passed as HTML attributes to the parent element. |
icon |
An icon, see bsicons::bs_icon. |
Other inputs:
checkbarInput()
,
chipInput()
,
fileInput()
,
formInput()
,
input_checkbox()
,
listGroupInput()
,
menuInput()
,
radioInput()
,
radiobarInput()
,
rangeInput()
,
selectInput()
,
textInput()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.