gridster: Create a Gridster frame on a Shiny web page

Description Usage Arguments See Also Examples

Description

Create a Gridster frame on a Shiny web page

Usage

1
2
  gridster(..., marginx = 16, marginy = 16, width = 140,
    height = 140)

Arguments

marginx

Horizontal margin between each grid item, in pixels.

marginy

Vertical margin between each grid item, in pixels.

width

Width of each tile, in pixels.

height

Height of each tile, in pixels.

...

Other properties or elements to include.

See Also

gridsterItem

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
shinyUI(bootstrapPage(

 gridster(width = 200, height = 200,
   gridsterItem(col = 1, row = 1, sizex = 1, sizey = 1,
     sliderInput("n", "Input value:", min = 0, max = 50, value = 10)
   ),
   gridsterItem(col = 2, row = 1, sizex = 1, sizey = 1,
     textOutput("myText")
   ),
   gridsterItem(col = 1, row = 2, sizex = 2, sizey = 1,
     plotOutput("myPlot", height = 200)
   )
 )
)

## End(Not run)

wch/shiny-gridster documentation built on May 4, 2019, 2:02 a.m.