library(bslib) knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Pass the argument preloader
to the dashboardPage()
function. It expects a list containing all parameters necessary to waiter::waiterShowOnLoad
. The duration is automatically handled by listening to the shiny:idle
event. Please have a look to the
{waiter}
documentation for more details.
That's all!
card( bs4Dash:::create_link_iframe(bs4Dash:::shinylive_links["inst/examples/vignettes-demos/preloader"]), full_screen = TRUE, style = "margin: 0 auto; float: none;" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.