Description Usage Arguments Value Author(s) Examples
Creates an empty div with the desired height clearing the space on the desired sites.
1 |
height |
Height of the space, can be any valid CSS unit,
validation will be done with |
clear |
Optional, can be one of 'both', 'left', 'right' and 'none' to specify which elements should be cleared, will be 'both' if given value is omitted or none of these. |
shiny div for spacing
richard.kunze
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Only run examples in interactive R sessions
if (interactive()) {
library(shiny)
shinyApp(
ui = fluidPage(
fluidRow(
dq_box(title = "I need space!!", dq_space(200)),
dq_box(
title = "I need more space", collapsible = TRUE, collapsed = TRUE,
"...but I'm collapsible!", dq_space("50vh")
)
)),
server = function(input, output) {
}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.