Public methods
Method new()
Creates a new progress panel (but does not display it).
Usage
Progress$new(session = getDefaultReactiveDomain(), min = 0, max = 1, ...)
Arguments
session
The Shiny session object, as provided by `shinyServer` to
the server function.
min
The value that represents the starting point of the progress
bar. Must be less than `max`.
max
The value that represents the end of the progress bar. Must be
greater than `min`.
...
Arguments that may have been used for `shiny::Progress`
Method set()
Updates the progress panel. When called the first time, the
progress panel is displayed.
Usage
Progress$set(value = NULL, message = NULL, ...)
Arguments
value
Single-element numeric vector; the value at which to set the
progress bar, relative to `min` and `max`. `NULL` hides the progress
bar, if it is currently visible.
message
A single-element character vector; the message to be
displayed to the user, or `NULL` to hide the current message (if any).
...
Arguments that may have been used for `shiny::Progress`
Method inc()
Like `set`, this updates the progress panel. The difference
is that `inc` increases the progress bar by `amount`, instead of
setting it to a specific value.
Usage
Progress$inc(amount = 0.1, message = NULL, ...)
Arguments
amount
For the `inc()` method, a numeric value to increment the
progress bar.
message
A single-element character vector; the message to be
displayed to the user, or `NULL` to hide the current message (if any).
...
Arguments that may have been used for `shiny::Progress`
Method getMin()
Returns the minimum value.
Usage
Progress$getMin()
Method getMax()
Returns the maximum value.
Usage
Progress$getMax()
Method getValue()
Returns the current value.
Usage
Progress$getValue()
Method close()
Removes the progress panel. Future calls to `set` and
`close` will be ignored.
Usage
Progress$close()
Method clone()
The objects of this class are cloneable with this method.
Usage
Progress$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.