Skip to content

Commit

Permalink
small cran check fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Jul 30, 2024
1 parent 1a3007f commit 5cd581b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions R/pageSpinner.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ showPageSpinner <- function(
#' @export
#' @rdname showHidePage
hidePageSpinner <- function() {
removeUI("#shinycssloaders-global-spinner", immediate = TRUE)
removeUI(".global-spinner-css", immediate = TRUE)
shiny::removeUI("#shinycssloaders-global-spinner", immediate = TRUE)
shiny::removeUI(".global-spinner-css", immediate = TRUE)
invisible(NULL)
}
2 changes: 1 addition & 1 deletion R/withSpinner.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' Use [showPageSpinner()] to show a spinner on the entire page instead of individual outputs.
#' @param ui_element A UI element that should be wrapped with a spinner when the corresponding output is being calculated.
#' @param type The type of spinner to use. Valid values are integers between 0-8 (0 means no spinner). Check out
#' \url{https://daattali.com/shiny/shinycssloaders-demo} to see the different types of spinners.
#' \url{https://daattali.com/shiny/shinycssloaders-demo/} to see the different types of spinners.
#' You can also use your own custom image using the `image` parameter.
#' @param color The color of the spinner in hex format. Ignored if `image` is used.
#' @param size The size of the spinner, relative to its default size (default is 1, a size of 2 means twice as large).
Expand Down
2 changes: 1 addition & 1 deletion man/showHidePage.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/withSpinner.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5cd581b

Please sign in to comment.