button_app: Creation of a bootstrap 5 button

View source: R/button_app.R

button_appR Documentation

Creation of a bootstrap 5 button

Description

Creation of a bootstrap 5 button

Usage

button_app(
  id,
  color = "primary",
  href = NULL,
  outline = FALSE,
  shadow = TRUE,
  disabled = FALSE,
  size = "md",
  oc = FALSE,
  id_oc = NULL,
  text = NULL,
  icon = NULL,
  add_class = NULL
)

Arguments

id

button id

color

button bootstrap color (primary, secondary, info, success, warning, danger, dark, light)

href

link to an external website (default = NULL)

outline

outline button ? (TRUE or FALSE)

shadow

shadow around button ? (TRUE/FALSE)

disabled

disabled state (TRUE or FALSE)

size

size of button (sm, md or lg)

oc

Trigger off canvas ? (TRUE or FALSE)

id_oc

if oc is TRUE id of the oc to trigger

text

Text label (default = NULL)

icon

Icon label (default = NULL)

add_class

button supplementary class

Value

a bootstrap 5 button


mhanf/multiplyR documentation built on May 17, 2022, 7:41 a.m.