Button that becomes disabled until reset w/ `resetLoadingButton`
loadingButton(
inputId,
label,
class = "btn btn-primary",
style = "width: 150px;",
loadingLabel = "Loading...",
loadingSpinner = "spinner",
loadingClass = NULL,
loadingStyle = NULL
)
the input id
the button text (label)
the class(es) to apply to the button
style for button (pre-loading); character string w/ CSS styling format: "color: black; background-color: red;"
text to show after button is clicked (e.g. during loading)
the loading spinner icon. Valid values are NULL, "spinner", "circle-notch", "sync", and "cog"
the loading button css class(es).
style for button (while loading); character string w/ CSS styling format: "color: black; background-color: red;"