bulmaDivider: bulma divider

Description Usage Arguments Note Author(s) Examples

View source: R/bulma-divider.R

Description

Create a vertical or horizontal divider https://wikiki.github.io/layout/divider/.

Usage

1
bulmaDivider(content = NULL, vertical = FALSE)

Arguments

content

Content to display (In mathematical textbooks we usually find ***).

vertical

TRUE or FALSE. Whether to use a vertical or horizontal divider.

Note

If vertical is TRUE, you need to wrap the divider in a bulmaColumns configuration. See example below.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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)

}

JohnCoene/shinybulma documentation built on Oct. 17, 2020, 8:57 p.m.