argonCarousel: Create a carousel

Description Usage Arguments Author(s) Examples

View source: R/argonCarousel.R

Description

Build an argon carousel

Usage

1
argonCarousel(..., id, floating = FALSE, hover_lift = FALSE, width = 6)

Arguments

...

Slot for argonCarouselItem.

id

Carousel unique id.

floating

Whether to apply a floating effect. FALSE by default.

hover_lift

Whether to apply a lift effect on hover. FALSE by default. Not compatible with floating. Only if card_mode is TRUE.

width

Carousel width.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
if (interactive()) {
 library(argonR)
 argonCarousel(
  id = "carousel2",
  argonCarouselItem(
    src = "https://demos.creative-tim.com/argon-design-system/assets/img/theme/img-1-1200x1000.jpg",
    active = TRUE
  ),
  argonCarouselItem(
    src = "https://demos.creative-tim.com/argon-design-system/assets/img/theme/img-2-1200x1000.jpg",
    active = FALSE
  )
 )
}

argonR documentation built on Dec. 1, 2019, 1:15 a.m.