From 46e2efcbba03682ab763c12dd00463b2e5041a05 Mon Sep 17 00:00:00 2001 From: cpsievert Date: Fri, 10 May 2024 20:02:08 +0000 Subject: [PATCH] cli-140-2703 --- 404.html | 2 +- CONTRIBUTING.html | 2 +- LICENSE-text.html | 2 +- TODO-promises.html | 2 +- apple-touch-icon-120x120.png | Bin 10047 -> 10047 bytes apple-touch-icon-152x152.png | Bin 13274 -> 13274 bytes apple-touch-icon-180x180.png | Bin 15862 -> 15862 bytes apple-touch-icon-60x60.png | Bin 4404 -> 4404 bytes apple-touch-icon-76x76.png | Bin 5849 -> 5849 bytes apple-touch-icon.png | Bin 15862 -> 15862 bytes authors.html | 6 +- favicon-16x16.png | Bin 1135 -> 1135 bytes favicon-32x32.png | Bin 2159 -> 2159 bytes index.html | 2 +- news/index.html | 7 +- pkgdown.yml | 2 +- reference/ExtendedTask.html | 2 +- reference/MockShinySession.html | 2 +- reference/NS.html | 2 +- reference/Progress.html | 2 +- reference/absolutePanel.html | 2 +- reference/actionButton.html | 2 +- reference/applyInputHandlers.html | 2 +- reference/bindCache.html | 2 +- reference/bindEvent.html | 2 +- reference/bookmarkButton.html | 2 +- reference/bootstrapLib.html | 2 +- reference/bootstrapPage.html | 2 +- reference/brushOpts.html | 2 +- reference/brushedPoints.html | 2 +- reference/busyIndicatorOptions.html | 212 ++++++++++++++++++++++++ reference/callModule.html | 2 +- reference/checkboxGroupInput.html | 2 +- reference/checkboxInput.html | 2 +- reference/clickOpts.html | 2 +- reference/column.html | 2 +- reference/conditionalPanel.html | 2 +- reference/createRenderFunction.html | 2 +- reference/createWebDependency.html | 2 +- reference/dateInput.html | 2 +- reference/dateRangeInput.html | 2 +- reference/debounce.html | 2 +- reference/devmode.html | 2 +- reference/diskCache.html | 2 +- reference/domains.html | 2 +- reference/downloadButton.html | 2 +- reference/downloadHandler.html | 2 +- reference/enableBookmarking.html | 2 +- reference/exportTestValues.html | 2 +- reference/exprToFunction.html | 2 +- reference/fileInput.html | 2 +- reference/fillPage.html | 2 +- reference/fillRow.html | 2 +- reference/fixedPage.html | 2 +- reference/flowLayout.html | 2 +- reference/fluidPage.html | 2 +- reference/freezeReactiveValue.html | 2 +- reference/getCurrentOutputInfo.html | 2 +- reference/getCurrentTheme.html | 2 +- reference/getQueryString.html | 2 +- reference/headerPanel.html | 2 +- reference/helpText.html | 2 +- reference/htmlOutput.html | 2 +- reference/httpResponse.html | 2 +- reference/icon.html | 18 +- reference/index.html | 10 +- reference/inputPanel.html | 2 +- reference/insertTab.html | 2 +- reference/insertUI.html | 2 +- reference/invalidateLater.html | 2 +- reference/is.reactivevalues.html | 2 +- reference/isRunning.html | 2 +- reference/isTruthy.html | 2 +- reference/isolate.html | 2 +- reference/knitr_methods.html | 2 +- reference/loadSupport.html | 2 +- reference/makeReactiveBinding.html | 2 +- reference/markOutputAttrs.html | 2 +- reference/markRenderFunction.html | 2 +- reference/markdown.html | 2 +- reference/maskReactiveContext.html | 2 +- reference/memoryCache.html | 2 +- reference/modalDialog.html | 2 +- reference/moduleServer.html | 2 +- reference/navbarPage.html | 36 ++-- reference/navlistPanel.html | 18 +- reference/numericInput.html | 2 +- reference/observe.html | 2 +- reference/observeEvent.html | 2 +- reference/onBookmark.html | 2 +- reference/onFlush.html | 2 +- reference/onStop.html | 2 +- reference/outputOptions.html | 2 +- reference/pageWithSidebar.html | 2 +- reference/parseQueryString.html | 2 +- reference/passwordInput.html | 2 +- reference/plotOutput.html | 2 +- reference/plotPNG.html | 2 +- reference/radioButtons.html | 2 +- reference/reactive.html | 4 +- reference/reactiveConsole.html | 2 +- reference/reactiveFileReader.html | 2 +- reference/reactivePoll.html | 4 +- reference/reactiveTimer.html | 2 +- reference/reactiveVal.html | 2 +- reference/reactiveValues.html | 2 +- reference/reactiveValuesToList.html | 2 +- reference/reactlog.html | 2 +- reference/reexports.html | 2 +- reference/registerInputHandler.html | 2 +- reference/registerThemeDependency.html | 2 +- reference/removeInputHandler.html | 2 +- reference/renderCachedPlot.html | 2 +- reference/renderDataTable.html | 2 +- reference/renderImage.html | 2 +- reference/renderPlot.html | 2 +- reference/renderPrint.html | 2 +- reference/renderTable.html | 2 +- reference/renderUI.html | 2 +- reference/repeatable.html | 2 +- reference/req.html | 2 +- reference/resourcePaths.html | 2 +- reference/restoreInput.html | 2 +- reference/runApp.html | 2 +- reference/runExample.html | 2 +- reference/runGadget.html | 2 +- reference/runTests.html | 2 +- reference/runUrl.html | 2 +- reference/safeError.html | 2 +- reference/selectInput.html | 2 +- reference/serverInfo.html | 2 +- reference/session.html | 2 +- reference/setBookmarkExclude.html | 2 +- reference/setSerializer.html | 2 +- reference/shiny-package.html | 2 +- reference/shiny.appobj.html | 2 +- reference/shinyApp.html | 2 +- reference/shinyAppTemplate.html | 2 +- reference/shinyDeprecated.html | 2 +- reference/shinyOptions.html | 2 +- reference/shinyServer.html | 2 +- reference/shinyUI.html | 2 +- reference/showBookmarkUrlModal.html | 2 +- reference/showModal.html | 2 +- reference/showNotification.html | 2 +- reference/showTab.html | 2 +- reference/sidebarLayout.html | 2 +- reference/sizeGrowthRatio.html | 2 +- reference/sliderInput.html | 2 +- reference/snapshotExclude.html | 2 +- reference/snapshotPreprocessInput.html | 2 +- reference/snapshotPreprocessOutput.html | 2 +- reference/splitLayout.html | 2 +- reference/stacktrace.html | 2 +- reference/stopApp.html | 2 +- reference/submitButton.html | 2 +- reference/tabPanel.html | 18 +- reference/tabsetPanel.html | 18 +- reference/testServer.html | 2 +- reference/textAreaInput.html | 2 +- reference/textInput.html | 2 +- reference/textOutput.html | 2 +- reference/titlePanel.html | 2 +- reference/updateActionButton.html | 2 +- reference/updateCheckboxGroupInput.html | 2 +- reference/updateCheckboxInput.html | 2 +- reference/updateDateInput.html | 2 +- reference/updateDateRangeInput.html | 2 +- reference/updateNumericInput.html | 2 +- reference/updateQueryString.html | 2 +- reference/updateRadioButtons.html | 2 +- reference/updateSelectInput.html | 2 +- reference/updateSliderInput.html | 2 +- reference/updateTabsetPanel.html | 2 +- reference/updateTextAreaInput.html | 2 +- reference/updateTextInput.html | 2 +- reference/urlModal.html | 2 +- reference/useBusyIndicators.html | 155 +++++++++++++++++ reference/validate.html | 2 +- reference/varSelectInput.html | 2 +- reference/verticalLayout.html | 2 +- reference/viewer.html | 2 +- reference/wellPanel.html | 2 +- reference/withMathJax.html | 2 +- reference/withProgress.html | 2 +- sitemap.xml | 6 + 186 files changed, 612 insertions(+), 230 deletions(-) create mode 100644 reference/busyIndicatorOptions.html create mode 100644 reference/useBusyIndicators.html diff --git a/404.html b/404.html index ab3b4d5f1..9cd6c26f8 100644 --- a/404.html +++ b/404.html @@ -39,7 +39,7 @@ shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html index aa43f39f8..7ab80bc87 100644 --- a/CONTRIBUTING.html +++ b/CONTRIBUTING.html @@ -17,7 +17,7 @@ shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/LICENSE-text.html b/LICENSE-text.html index 1ecb64bc1..86fa9fdd0 100644 --- a/LICENSE-text.html +++ b/LICENSE-text.html @@ -17,7 +17,7 @@ shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/TODO-promises.html b/TODO-promises.html index d9797135b..09f9a187e 100644 --- a/TODO-promises.html +++ b/TODO-promises.html @@ -17,7 +17,7 @@ shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/apple-touch-icon-120x120.png b/apple-touch-icon-120x120.png index f8105ebe67bc48369d59ec60ef3801fe42cdc758..af3734efb3c5cf7fcbd8701eb2035a66dc58a4ba 100644 GIT binary patch delta 71 zcmdn*x8H9<6$h6HgSGXpeU~>jaj1zJ8iW`bSQ!{tnObTCNdtqc>^6dv=c~zJ$}EX$ KSv&cHT0Q^_ofTIA delta 71 zcmdn*x8H9<6$iVRf$qa&hKDvbaj1zJn1>h{S(#W^nV4!D7+4t?q%%DJFnPY345o}& LY_!kh3u^fQH`W!V diff --git a/apple-touch-icon-152x152.png b/apple-touch-icon-152x152.png index d50a1d1e6cb3226e400d6d0ed6b3da2f9e499799..0e5c0a01e604c47af172b1cf8e51f3c00e73b907 100644 GIT binary patch delta 71 zcmcbWek*-K6$h6HBg5oXY1=k7EjAK0Gzc*=ure^TGBD6K05S}o@0FP`*~(Z3Q)b$O KB`TA%jq?FcO%`(i delta 71 zcmcbWek*-K6$iVRfnLS=go=$#i;YAL%tMTftV}GdOw644NP@0G%(h0<(=Gan-2hFMH?Fc delta 94 zcmexX{jGXJ6$iVRfkD%OSm}*T`)%9|%tMTftV}F`NZY``%D{l_dXoVI1A}UbYeY#( hVo9o1ZhlH;S|x*#fsu)>fvGNrhVm|}p2_XD`2d^*9Blvq diff --git a/apple-touch-icon-60x60.png b/apple-touch-icon-60x60.png index f4a1d4761bb652b622430bae985bd0f502a0a108..55fac61af55bba1b7785831b393cca50585a7e09 100644 GIT binary patch delta 94 zcmdm@v_)w`6$h6HgXPsN_y2Ef`pfTTXb@s#U}a!nWooVsBn=E&E!=$=7#LJbTq844NP@0G<-?@|6%e`fqVd=#~u0r delta 94 zcmdm@v_)w`6$iVRfmZ#ZC5aoG{_?vSn1>h{S(#W^nHXss7+4t?ELwiIj)8$ewZt`| kBqgyV)hahXB{Qv(!N|bKMAyJn7emA4U#W*C9~H<40F&<>^#A|> diff --git a/apple-touch-icon-76x76.png b/apple-touch-icon-76x76.png index 9c62339a54be8557fb9945cc10490f5c8f67e63c..ddf4796a92d2af19b55cad75d62f0df29121f27a 100644 GIT binary patch delta 71 zcmcbqdsBBp6$h6HgO$(TKG%&+i$p~Y4ML0ztPBjSOf9s5q=7+kf%($OmSQrPGEBPt Jl9RK<@&Wnr6L$ar delta 71 zcmcbqdsBBp6$iVRfi}m|Dc?6XEfN(qFb^>@vNEx-GBMURFt9Q(V7YMZ)MQIB8BCed L-n_EOSz`GBHgOfx diff --git a/apple-touch-icon.png b/apple-touch-icon.png index 0a20c2c30f62dc7825b318485f4a6cb1ed1050ff..fcf9838361fcf5e562e347c0f96ea9fa3bfa686a 100644 GIT binary patch delta 94 zcmexX{jGXJ6$h6HBQw`xbDoV&`)%9|4ML0ztPBjT42-o6fDD6cp=_)S3=FCzt`Q|E ii6yC4x%nxXX_X8{21X{j2Bx|g8kTeH+c~-2HXi^Zvl|uw delta 94 zcmexX{jGXJ6$iVRf#KKVxxE{k_S?7_n1>h{S(#W^nOJHY7+4t?ELhOl!oa|wTH+c} jl9E`GYL%Oxl9^V?U}RuqqHAEPi=pA-Uqg$@?Y8*<8iO91 diff --git a/authors.html b/authors.html index e9dd19ef3..79217b387 100644 --- a/authors.html +++ b/authors.html @@ -17,7 +17,7 @@ shiny - 1.8.1.9000 + 1.8.1.9001 @@ -199,14 +199,14 @@

Chang W, Cheng J, Allaire J, Sievert C, Schloerke B, Xie Y, Allen J, McPherson J, Dipert A, Borges B (2024). shiny: Web Application Framework for R. -R package version 1.8.1.9000, +R package version 1.8.1.9001, https://github.com/rstudio/shiny, https://shiny.posit.co/.

@Manual{,
   title = {shiny: Web Application Framework for R},
   author = {Winston Chang and Joe Cheng and JJ Allaire and Carson Sievert and Barret Schloerke and Yihui Xie and Jeff Allen and Jonathan McPherson and Alan Dipert and Barbara Borges},
   year = {2024},
-  note = {R package version 1.8.1.9000, 
+  note = {R package version 1.8.1.9001, 
 https://github.com/rstudio/shiny},
   url = {https://shiny.posit.co/},
 }
diff --git a/favicon-16x16.png b/favicon-16x16.png index 0ceb14d1ec98bf6a1b82d5db8e7fdf14b2fb1454..4835409eb54601b263093d9170091fdc0e997960 100644 GIT binary patch delta 72 zcmaFQ@t$KtKNAO+2qWjKvU@_Cr!y%tiW(Y(7#Ua@7+M)vY8wC<21Tlo-jmNW%V5ed LS3LYai6tKZ@y--d delta 72 zcmaFQ@t$KtKNAPLn1Mx)^i|Ex)0vbRMGeeDjEt;IEUZk;v<(cb3=C#D{ro)nJhKd@ M%xif^|4A(Q02AUB0ssI2 diff --git a/favicon-32x32.png b/favicon-32x32.png index 97c45502a56ff4a702372b0635165ec6a3519bc2..c38dd2479927ed7f9147157578dde16cb3007a4a 100644 GIT binary patch delta 70 zcmaDa@Lpg-6$h6HBUf>K|B8)G7VM&i1|dcURtAPvh6dUOK!$;~xD4Cm^XxL1GErVj Jc1_~Q2LQLY64w9# delta 70 zcmaDa@Lpg-6$iVRf#q+Rr~5ZHS+I*5n1>h{S(#W^nVM@G7+4t?*qDBDpM0KO22;j2 K!|V4Xj(h+e5fwlH diff --git a/index.html b/index.html index 19ceb774e..1e9237531 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@ shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/news/index.html b/news/index.html index 1a21c151d..1df44cb00 100644 --- a/news/index.html +++ b/news/index.html @@ -17,7 +17,7 @@ shiny - 1.8.1.9000 + 1.8.1.9001 @@ -51,7 +51,8 @@

New features and improvements

-
  • Output bindings now include the .recalculating CSS class when they are first bound, up until the first render. This makes it possible/easier to show progress indication when the output is calculating for the first time. (#4039)
  • +
    • Added new functions, useBusyIndicators() and busyIndicatorOptions(), for enabling and customizing busy indication. Busy indicators provide a visual cue to users when the server is busy calculating outputs or otherwise serving requests to the client. When enabled, a spinner is shown on each calculating/recalculating output, and a pulsing banner is shown at the top of the page when the app is otherwise busy. (#4040)
    • +
    • Output bindings now include the .recalculating CSS class when they are first bound, up until the first render. This makes it possible/easier to show progress indication when the output is calculating for the first time. (#4039)

Bug fixes

@@ -228,7 +229,7 @@

Bootstrap 5 support. (#3410 and rstudio/bslib#304)

  • As explained here, to opt-in to Bootstrap 5, provide bslib::bs_theme(version = 5) to a page layout function with a theme argument (e.g., fluidPage(), navbarPage(), etc).
-
  • Closed #3322, #3313, #1823, #3321, #3320, #1928, and #2310: Various improvements to navbarPage(), tabsetPanel(), tabPanel(), navbarMenu(), etc. Also, these functions are now powered by the bslib package’s new nav() API (consider using bslib’s API to create better looking and more fully featured navs). (#3388)

  • +
  • Closed #3322, #3313, #1823, #3321, #3320, #1928, and #2310: Various improvements to navbarPage(), tabsetPanel(), tabPanel(), navbarMenu(), etc. Also, these functions are now powered by the bslib package’s new nav() API (consider using bslib’s API to create better looking and more fully featured navs). (#3388)

  • All uses of list(...) have been replaced with rlang::list2(...). This means that you can use trailing , without error and use rlang’s !!! operator to “splice” a list of argument values into .... We think this’ll be particularly useful for passing a list of tabPanel() to their consumers (i.e., tabsetPanel(), navbarPage(), etc). For example, tabs <- list(tabPanel("A", "a"), tabPanel("B", "b")); navbarPage(!!!tabs). (#3315 and #3328)

  • installExprFunction() and exprToFunction() are now able to handle quosures when quoted = TRUE. So render-functions which call these functions (such as with htmlwidgets) can now understand quosures. Users can also use rlang::inject() to unquote a quosure for evaluation. This also means that render function no longer need env and quoted parameters; that information can be embedded into a quosure which is then passed to the render function. Better documentation was added for how to create render functions. (#3472)

  • icon(lib="fontawesome") is now powered by the fontawesome package, which will make it easier to use the latest FA icons in the future (by updating the fontawesome package). (#3302)

  • diff --git a/pkgdown.yml b/pkgdown.yml index 55318e330..3e54175aa 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,5 +2,5 @@ pandoc: 3.1.11 pkgdown: 2.0.9 pkgdown_sha: ~ articles: {} -last_built: 2024-05-07T22:49Z +last_built: 2024-05-10T20:01Z diff --git a/reference/ExtendedTask.html b/reference/ExtendedTask.html index 6948dbca3..9df05e493 100644 --- a/reference/ExtendedTask.html +++ b/reference/ExtendedTask.html @@ -34,7 +34,7 @@ begin until the previous invocation has completed."> shiny - 1.8.1.9000 + 1.8.1.9001
    diff --git a/reference/MockShinySession.html b/reference/MockShinySession.html index 4ddb2d4e5..f7e53946e 100644 --- a/reference/MockShinySession.html +++ b/reference/MockShinySession.html @@ -28,7 +28,7 @@ of testServer()."> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/NS.html b/reference/NS.html index 031549b56..f007cb4f4 100644 --- a/reference/NS.html +++ b/reference/NS.html @@ -19,7 +19,7 @@ modules. See https://shiny.rstudio.com/articles/modules.html."> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/Progress.html b/reference/Progress.html index 68fa4f48a..9c4f7bb89 100644 --- a/reference/Progress.html +++ b/reference/Progress.html @@ -18,7 +18,7 @@ Reporting progress (object-oriented API)"> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/absolutePanel.html b/reference/absolutePanel.html index d5b8ab092..d068afba6 100644 --- a/reference/absolutePanel.html +++ b/reference/absolutePanel.html @@ -17,7 +17,7 @@ shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/actionButton.html b/reference/actionButton.html index 3619605f7..e7ba5db68 100644 --- a/reference/actionButton.html +++ b/reference/actionButton.html @@ -18,7 +18,7 @@ each time it is pressed."> + + +
    +
    + + + +
    +
    + + +
    +

    When busy indicators are enabled (see useBusyIndicators()), a spinner is +shown on each calculating/recalculating output, and a pulsing banner is shown +at the top of the page when the app is otherwise busy. This function allows +you to customize the appearance of those busy indicators. To apply the +customization, include the result of this function inside the app's UI.

    +
    + +
    +
    busyIndicatorOptions(
    +  ...,
    +  spinner_type = NULL,
    +  spinner_color = NULL,
    +  spinner_size = NULL,
    +  spinner_delay = NULL,
    +  spinner_selector = NULL,
    +  pulse_background = NULL,
    +  pulse_height = NULL,
    +  pulse_speed = NULL
    +)
    +
    + +
    +

    Arguments

    +
    ...
    +

    Currently ignored.

    + + +
    spinner_type
    +

    The type of spinner. Pre-bundled types include: +'ring', 'ring2', 'ring3', 'bars', 'bars2', 'bars3', 'pulse', 'pulse2', 'pulse3', 'dots', 'dots2', 'dots3'.

    +

    A path to a local SVG file can also be provided. The SVG should adhere to +the following rules:

    • The SVG itself should contain the animation.

    • +
    • It should avoid absolute sizes (the spinner's containing DOM element +size is set in CSS by spinner_size, so it should fill that container).

    • +
    • It should avoid setting absolute colors (the spinner's containing DOM element +color is set in CSS by spinner_color, so it should inherit that color).

    • +
    + + +
    spinner_color
    +

    The color of the spinner. This can be any valid CSS +color. Defaults to the app's "primary" color if Bootstrap is on the page.

    + + +
    spinner_size
    +

    The size of the spinner. This can be any valid CSS size.

    + + +
    spinner_delay
    +

    The amount of time to wait before showing the spinner. +This can be any valid CSS time and can be useful for not showing the spinner +if the computation finishes quickly.

    + + +
    spinner_selector
    +

    A character string containing a CSS selector for +scoping the spinner customization. The default (NULL) will apply the +spinner customization to the parent element of the spinner.

    + + +
    pulse_background
    +

    A CSS background definition for the pulse. The +default uses a +linear-gradient +of the theme's indigo, purple, and pink colors.

    + + +
    pulse_height
    +

    The height of the pulsing banner. This can be any valid +CSS size.

    + + +
    pulse_speed
    +

    The speed of the pulsing banner. This can be any valid CSS +time.

    + +
    +
    +

    See also

    +

    useBusyIndicators() for enabling/disabling busy indicators.

    +
    + +
    +

    Examples

    +
    if (FALSE) { # rlang::is_interactive()
    +
    +library(bslib)
    +
    +card_ui <- function(id, spinner_type = id) {
    +  card(
    +    busyIndicatorOptions(spinner_type = spinner_type),
    +    card_header(paste("Spinner:", spinner_type)),
    +    plotOutput(shiny::NS(id, "plot"))
    +  )
    +}
    +
    +card_server <- function(id, simulate = reactive()) {
    +  moduleServer(
    +    id = id,
    +    function(input, output, session) {
    +      output$plot <- renderPlot({
    +        Sys.sleep(1)
    +        simulate()
    +        plot(x = rnorm(100), y = rnorm(100))
    +      })
    +    }
    +  )
    +}
    +
    +ui <- page_fillable(
    +  useBusyIndicators(),
    +  input_task_button("simulate", "Simulate", icon = icon("refresh")),
    +  layout_columns(
    +    card_ui("ring"),
    +    card_ui("bars"),
    +    card_ui("dots"),
    +    card_ui("pulse"),
    +    col_widths = 6
    +  )
    +)
    +
    +server <- function(input, output, session) {
    +  simulate <- reactive(input$simulate)
    +  card_server("ring", simulate)
    +  card_server("bars", simulate)
    +  card_server("dots", simulate)
    +  card_server("pulse", simulate)
    +}
    +
    +shinyApp(ui, server)
    +}
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.9.

    +
    + +
    + + + + + + + + diff --git a/reference/callModule.html b/reference/callModule.html index db182d04d..a34194327 100644 --- a/reference/callModule.html +++ b/reference/callModule.html @@ -20,7 +20,7 @@ testServer()."> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/checkboxGroupInput.html b/reference/checkboxGroupInput.html index 77e831214..f90748639 100644 --- a/reference/checkboxGroupInput.html +++ b/reference/checkboxGroupInput.html @@ -19,7 +19,7 @@ selected values."> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/checkboxInput.html b/reference/checkboxInput.html index c77e9c3a1..009d3f2d4 100644 --- a/reference/checkboxInput.html +++ b/reference/checkboxInput.html @@ -17,7 +17,7 @@ shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/clickOpts.html b/reference/clickOpts.html index 36e00a856..44ef30588 100644 --- a/reference/clickOpts.html +++ b/reference/clickOpts.html @@ -18,7 +18,7 @@ hover events generated by imageOutput() and plotOutput()."> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/column.html b/reference/column.html index ac120b748..10465ceaa 100644 --- a/reference/column.html +++ b/reference/column.html @@ -18,7 +18,7 @@ fixedRow()"> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/conditionalPanel.html b/reference/conditionalPanel.html index 60dd40083..da3501187 100644 --- a/reference/conditionalPanel.html +++ b/reference/conditionalPanel.html @@ -19,7 +19,7 @@ whenever Shiny detects a relevant change in input/output."> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/createRenderFunction.html b/reference/createRenderFunction.html index ee6f74dd0..a9b2bea61 100644 --- a/reference/createRenderFunction.html +++ b/reference/createRenderFunction.html @@ -22,7 +22,7 @@ additional call(s)."> + + +
    +
    + + + +
    +
    + + +
    +

    Busy indicators provide a visual cue to users when the server is busy +calculating outputs or otherwise performing tasks (e.g., producing +downloads). When enabled, a spinner is shown on each +calculating/recalculating output, and a pulsing banner is shown at the top of +the page when the app is otherwise busy. Busy indication is enabled by +default for UI created with bslib, but must be enabled otherwise. To +enable/disable, include the result of this function in anywhere in the app's +UI.

    +
    + +
    +
    useBusyIndicators(..., spinners = TRUE, pulse = TRUE)
    +
    + +
    +

    Arguments

    +
    ...
    +

    Currently ignored.

    + + +
    spinners
    +

    Whether to show a spinner on each calculating/recalculating +output.

    + + +
    pulse
    +

    Whether to show a pulsing banner at the top of the page when the +app is busy.

    + +
    +
    +

    Details

    +

    When both spinners and pulse are set to TRUE, the pulse is +automatically disabled when spinner(s) are active. When both spinners and +pulse are set to FALSE, no busy indication is shown (other than the +graying out of recalculating outputs).

    +
    +
    +

    See also

    +

    busyIndicatorOptions() for customizing the appearance of the busy +indicators.

    +
    + +
    +

    Examples

    +
    if (FALSE) { # rlang::is_interactive()
    +
    +library(bslib)
    +
    +ui <- page_fillable(
    +  useBusyIndicators(),
    +  card(
    +    card_header(
    +      "A plot",
    +      input_task_button("simulate", "Simulate"),
    +      class = "d-flex justify-content-between align-items-center"
    +    ),
    +    plotOutput("p"),
    +  )
    +)
    +
    +server <- function(input, output) {
    +  output$p <- renderPlot({
    +    input$simulate
    +    Sys.sleep(4)
    +    plot(x = rnorm(100), y = rnorm(100))
    +  })
    +}
    +
    +shinyApp(ui, server)
    +}
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.9.

    +
    + +
    + + + + + + + + diff --git a/reference/validate.html b/reference/validate.html index 9d00e99b0..68655d847 100644 --- a/reference/validate.html +++ b/reference/validate.html @@ -24,7 +24,7 @@ automatically propagate to outputs that use the reactive.'> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/varSelectInput.html b/reference/varSelectInput.html index 57bd49677..77d2485ce 100644 --- a/reference/varSelectInput.html +++ b/reference/varSelectInput.html @@ -18,7 +18,7 @@ from the column names of a data frame."> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/verticalLayout.html b/reference/verticalLayout.html index 2aa3097ad..3b84e798e 100644 --- a/reference/verticalLayout.html +++ b/reference/verticalLayout.html @@ -18,7 +18,7 @@ passed to the container will appear on it's own line in the UI)"> shiny - 1.8.1.9000 + 1.8.1.9001 diff --git a/reference/viewer.html b/reference/viewer.html index 05b1ded9b..9c45fc57f 100644 --- a/reference/viewer.html +++ b/reference/viewer.html @@ -21,7 +21,7 @@ utils::browseURL()).">