gridster: Create a Gridster frame on a Shiny web page

Description Usage Arguments Author(s) See Also Examples

Description

Create a Gridster frame on a Shiny web page

Usage

1
2
  gridster(..., margin.x = 16, margin.y = 16,
    tile.width = 140, tile.height = 140)

Arguments

margin.x

Horizontal margin between each grid item, in pixels.

margin.y

Vertical margin between each grid item, in pixels.

tile.width

Width of each tile, in pixels.

tile.height

Height of each tile, in pixels.

...

Other properties or elements to include.

Author(s)

Winston Chang

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(tile.width = 200, tile.height = 200,
   gridsterItem(col = 1, row = 1, size.x = 1, size.y = 1,
     sliderInput("n", "Input value:", min = 0, max = 50, value = 10)
   ),
   gridsterItem(col = 2, row = 1, size.x = 1, size.y = 1,
     textOutput("myText")
   ),
   gridsterItem(col = 1, row = 2, size.x = 2, size.y = 1,
     plotOutput("myPlot", height = 200)
   )
 )
)

## End(Not run)

trestletech/ShinyDash documentation built on May 31, 2019, 7:47 p.m.