myCarousel: carousel container

Description Usage Arguments

View source: R/videoModule.R

Description

Creates a carousel. Adapted from shinydashboardplus to also allow control of the carousel animation

Usage

1
2
3
4
5
6
7
8
9
myCarousel(
  ...,
  id,
  indicators = TRUE,
  width = 6,
  .list = NULL,
  data.interval = 5000,
  data.ride = "carousel"
)

Arguments

...

Slot for carouselItem

id

Carousel id. Must be unique.

indicators

Whether to display left and right indicators.

width

Carousel width. 6 by default.

.list

Should you need to pass carouselItem via lapply or similar, put these item here instead of passing them in ...

data.interval

specify data-interval in ms. 5000ms by default, set to "false" to prevent automated animation of the slides.

data.ride

specify data-ride. "carousel" by default.


CaPO4Sim documentation built on March 21, 2021, 9:06 a.m.