Description Usage Arguments Author(s) Examples
View source: R/UIkitSortable.R
Create sortable grids and lists to rearrange the order of its elements
1 |
... |
Slot for UIkitSortableItem. |
David Granjon, dgranjon@ymail.com
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) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.