You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/withSpinner.R
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@
31
31
#' Setting `hide.ui = FALSE` will result in the spinner showing up on top of the previous output UI.
32
32
#' @param caption Caption to display below the spinner or image (text or HTML). The caption's font color is determined
33
33
#' by the `color` parameter. Ignored if `type` is 1.
34
+
#' @param delay Specify a delay (in milliseconds) before the spinner is displayed. This can be useful to avoid showing the spinner for very short loading times, for a better user experience.
34
35
#' @param width The width of the spinner, in pixels. This is only needed in rare cases when the spinner
35
36
#' is not appearing on the screen due to it having no inherent width (for example, when the output is inside
36
37
#' a CSS flexbox without a specified width). Do not use this parameter if the spinner already works.
0 commit comments