html_dependency_winbox | R Documentation |
Include dependencies, place anywhere in the shiny UI.
html_dependency_winbox(
css_rules = "body{min-height:100vh}.winbox.modal{display:block;overflow:unset}"
)
css_rules |
CSS rules to be included in a |
library(shiny)
library(shinyWidgets)
ui <- fluidPage(
html_dependency_winbox()
)
server <- function(input, output, session) {
WinBox(
title = "WinBox",
ui = tagList(
tags$h3("Hello from WinBox!")
)
)
}
if (interactive())
shinyApp(ui, server)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.