sides: Create multi sections

Description Usage Arguments Details Author(s) Examples

Description

Create multi page sides; left and right.

Usage

1
2
3
multiLeft(..., align = NULL)

multiRight(..., align = NULL)

Arguments

...

any element.

align

text alignment passed to CSS, takes left, right or center.

Details

Only use one of each in multiPage.

Author(s)

John Coene, [email protected]

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
if(interactive()){
  library(shiny)

  ui <- multiPage(
    multiLeft(
      multiSection(
        align = "right",
        h1("Left")
      ),
      multiSection(
        align = "center",
        h1("Left Again")
      )
    ),
    multiRight(
      multiSection(
        align = "left",
        h1("Right")
      ),
      multiSection(
        align = "center",
        h1("Right again")
      )
    )
  )

  server <- function(input, output){}

  shinyApp(ui, server)
}

RinteRface/fullPage documentation built on Jan. 17, 2019, 6 a.m.