library(shiny)
library(magrittr)
library(shiny.whirligig)
ui <- fluidPage(
uiOutput(outputId = 'example',
width = '100wv',
height = '100vh') %>% withWhirligig
)
server <- function(input, output) {
output$example <- renderUI({
Sys.sleep(10)
tags$p('Hello from the otherside!')
})
}
app <- shinyApp(ui = ui, server = server)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.