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, ...)
update_button(
id,
label = NULL,
value = NULL,
disable = NULL,
session = get_current_session()
)
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:
fileInput()
,
input_checkbox()
,
input_checkbox_group()
,
input_chip()
,
input_form()
,
input_list_group()
,
input_menu()
,
input_radio_group()
,
radiobarInput()
,
rangeInput()
,
selectInput()
,
textInput()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.