freewall {freewall} | R Documentation |
The 'freewall' widget
Description
Creates a grid of images.
Usage
freewall(
images,
backgroundImages = FALSE,
widths = 100,
heights = NULL,
width = "100%",
draggable = FALSE,
animate = TRUE,
cellW = 100,
cellH = 100,
delay = 0,
fixSize = NULL,
gutterX = 10,
gutterY = 10,
keepOrder = TRUE,
rightToLeft = FALSE,
bottomToTop = FALSE,
elementId = NULL
)
Arguments
images |
character vector of paths or urls to some images; for a Shiny app, the image files must be located in the www subfolder |
backgroundImages |
Boolean, whether to render the images with the
CSS property |
widths |
the widths of the images in pixels; if a single value is given, it will be used for all images |
heights |
the heights of the images in pixels; if a single value is given,
it will be used for all images; setting the heights is necessary if
|
width |
the width of the container |
draggable |
Boolean, whether to enable draggability |
animate |
Boolean, whether to animate |
cellW |
width of unit, a number of pixels or |
cellH |
height of unit, a number of pixels or |
delay |
time delay for showing an item |
fixSize |
see freewall options |
gutterX |
space between columns, a number of pixels or |
gutterY |
space between rows, a number of pixels or |
keepOrder |
Boolean, whether to keep the order of the images |
rightToLeft |
Boolean, whether to let the layout start render from right to left |
bottomToTop |
Boolean, whether to let the layout start render from bottom to top |
elementId |
a HTML id for the container (usually useless) |
Value
A htmlwidget
object.
Examples
freewall(
nature(), widths = 200, cellW = 200, cellH = 200, draggable = TRUE
)