UIkitLightbox: Create an UIkit lightbox element

Description Usage Arguments Author(s) Examples

View source: R/UIkitLightbox.R

Description

Create a responsive lightbox gallery with images and videos

Usage

1
UIkitLightbox(src = NULL, caption = NULL)

Arguments

src

Image path or url.

caption

Image title, description.

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(shiny)

shiny::shinyApp(
 ui = UIkitPage(
   title = "My UIkit application",
   UIkitLightbox(
    src = "https://getuikit.com/docs/images/photo.jpg",
    caption = "Hello"
   )
 ),
 server = function(input, output) {}
 )
}

DivadNojnarg/shinyUIkit documentation built on July 24, 2019, 8:17 a.m.