UIkitSortable: Create an UIkit sortable grid

Description Usage Arguments Author(s) Examples

View source: R/UIkitSortable.R

Description

Create sortable grids and lists to rearrange the order of its elements

Usage

1

Arguments

...

Slot for UIkitSortableItem.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
if(interactive()){
library(shiny)

shiny::shinyApp(
 ui = UIkitPage(
   title = "My UIkit application",
   UIkitSortable(
   lapply(X = 1:4, FUN = function(i) {
     UIkitSortableItem(
       UIkitCard(
        width = NULL,
        height = "medium",
        title = paste0("My card ", i),
        hover = TRUE,
        horizontal = FALSE,
        body = "This is the body"
       )
     )
   })
  )
 ),
 server = function(input, output) {}
 )
}

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