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
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
#' Ignored if `image` is used.
19
19
#' @param custom.css Set to `TRUE` if you have your own custom CSS that you defined and you don't want the automatic CSS applied to the spinner.
20
20
#' Ignored if `image` is used.
21
-
#' @param proxy.height If the output UI doesn't specify the output height, you can set a proxy height. It defaults to "400px"
21
+
#' @param proxy.height If the output UI doesn't specify the output height, you can set a proxy height. For example, `textOutput()` usually needs this parameter. It defaults to "400px"
22
22
#' for outputs with undefined height. Ignored if `hide.ui` is set to `FALSE`.
23
23
#' @param id The HTML ID to use for the spinner. If you don't provide one, it will be generated automatically.
24
24
#' @param image The path or URL of the image to use if you want to use a custom image instead of a built-in spinner.
@@ -31,6 +31,9 @@
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 width The width of the spinner, in pixels. This is only needed in rare cases when the spinner
35
+
#' is not appearing on the screen due to it having no inherent width (for example, when the output is inside
36
+
#' a CSS flexbox without a specified width). Do not use this parameter if the spinner already works.
0 commit comments