gallery: Create an Image Gallery Widget

Description Usage Arguments Value

View source: R/input-gallery.R

Description

Create an image gallery widget with pagination based on file or URL paths to images.

Usage

1
gallery(values, options = list(), width = NULL, height = NULL)

Arguments

values

File or URL paths to images that are to be displayed.

options

A list of initialization options.

width

The width of the input container, e.g., '100%'; see validateCssUnit.

height

The height of each input image, e.g., '200px'; see validateCssUnit.

Value

An image gallery widget that can be added to a UI definition.


stefanieschneider/shinygallery documentation built on July 6, 2020, 7:46 p.m.