View source: R/bulma-divider.R
bulmaDivider | R Documentation |
Create a vertical or horizontal divider https://wikiki.github.io/layout/divider/.
bulmaDivider(content = NULL, vertical = FALSE)
content |
Content to display (In mathematical textbooks we usually find ***). |
vertical |
TRUE or FALSE. Whether to use a vertical or horizontal divider. |
If vertical is TRUE, you need to wrap the divider in a bulmaColumns
configuration.
See example below.
David Granjon, dgranjon@ymail.com
if (interactive()) {
library(shiny)
ui <- bulmaPage(
bulmaContainer(
# horizontal divider
bulmaDivider(),
# vertical divider need to be wrapped in columns!
bulmaColumns(
bulmaColumn(
width = 6,
bulmaBox(
"test"
)
),
bulmaDivider(vertical = TRUE),
bulmaColumn(
width = 6,
bulmaBox(
"test"
)
)
)
)
)
server <- function(input, output, session) {
}
shinyApp(ui = ui, server = server)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.