loadingButton: loadingButton

Description Usage Arguments

View source: R/loadingButton.R

Description

Button that becomes disabled until reset w/ 'resetLoadingButton'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
loadingButton(
  inputId,
  label,
  class = "btn btn-primary",
  style = "width: 150px;",
  loadingLabel = "Loading...",
  loadingSpinner = "spinner",
  loadingClass = NULL,
  loadingStyle = NULL
)

Arguments

inputId

the input id

label

the button text (label)

class

the class(es) to apply to the button

style

style for button (pre-loading); character string w/ CSS styling format: "color: black; background-color: red;"

loadingLabel

text to show after button is clicked (e.g. during loading)

loadingSpinner

the loading spinner icon. Valid values are NULL, "spinner", "circle-notch", "sync", and "cog"

loadingClass

the loading button css class(es).

loadingStyle

style for button (while loading); character string w/ CSS styling format: "color: black; background-color: red;"


shinyFeedback documentation built on Sept. 24, 2021, 5:07 p.m.