bsButton
is used in your UI script to create customizable action and toggle
buttons.
bsButton(inputId, label, icon = NULL, ..., style = "default",
size = "default", type = "action", block = FALSE, disabled = FALSE,
value = FALSE)
Specifies the input slot that will be used to access the value.
The contents of the button or link--usually a text label, but you could also use any other HTML, like an image.
An optional icon
to appear on the button.
Named attributes to be applied to the button or link.
A Bootstrap style to apply to the button. (default
, primary
,
success
, info
, warning
, or danger
)
The size of the button (extra-small
, small
,
default
, or large
)
The type of button to create. (action
or toggle
)
logical Should the button take the full width of the parent element?
logical Should the button be disabled (un-clickable)?
logical If type = "toggle"
, the initial value of the button.
See Buttons for more information about how to use bsButton
with the
rest of the Buttons family.
Other Buttons: Buttons
;
updateButton