Tabler action button
Now by checking the source code of shiny::actionButton
we can that:
- Tabler and
shiny
are using the button tag - Table don’t use the class
btn-default
actionButton <- function (inputId, label, icon = NULL,
width = NULL, ...) {
value <- restoreInput(id = inputId, default = NULL)
tags$button(
id = inputId,
style = if (!is.null(width)) {
paste0("width: ", validateCssUnit(width), ";")
},
type = "button",
class = "btn btn-default action-button",
`data-val` = value,
list(validateIcon(icon), label), ...
)
}