bsButton | R Documentation |
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)
inputId |
Specifies the input slot that will be used to access the value. |
label |
The contents of the button or linkâusually a text label, but you could also use any other HTML, like an image. |
icon |
An optional |
... |
Named attributes to be applied to the button or link. |
style |
A Bootstrap style to apply to the button. ( |
size |
The size of the button ( |
type |
The type of button to create. ( |
block |
logical Should the button take the full width of the parent element? |
disabled |
logical Should the button be disabled (un-clickable)? |
value |
logical If |
See Buttons for more information about how to use bsButton
with the
rest of the Buttons family.
Run bsExample("Buttons")
for an example
of bsButton
functionality.
Other Buttons: Buttons
;
updateButton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.