Description Active bindings Methods
Manage the attendant loading bar with bootstrap 4.
maxMaximum value of the bar.
new()Attendant$new( id, min = NULL, max = NULL, session = shiny::getDefaultReactiveDomain(), hide_on_max = FALSE )
idId of progress bar set with attendantBar.
min, maxMinimum and maximum value of the progress bar.
sessionA valid shiny session.
hide_on_maxWhether to hide the progress bar when it reaches its maximum value (defined in attendantBar). The progress bar automatically becomes visible again when it is set to a value below the maximum.
Initialise a progress bar
inc()Attendant$inc(value = 1, text = NULL)
valueValue to increase the progress bar.
textText to display on the progress bar.
Increase
dec()Attendant$dec(value = 1, text = NULL)
valueValue to decrease the progress bar.
textText to display on the progress bar.
Decrease
set()Attendant$set(value, text = NULL)
valueValue to set the progress bar.
textText to display on the progress bar.
Set
done()Attendant$done(text = NULL)
textText to display on the progress bar.
Done with progress
close()Attendant$close(text = NULL)
textText to display on the progress bar.
Done with progress
auto()Attendant$auto(ms = 400, value = 1)
msMilliseconds between increment of value.
valueValue to increment by at every ms.
Automatically increase the progress bar until done
getMin()Attendant$getMin()
Get minimum value
getMax()Attendant$getMax()
Get maximum value
getValue()Attendant$getValue()
Get current value
clone()The objects of this class are cloneable with this method.
Attendant$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.