R’s interface for dragula library for moving around elements in shiny app.
Installation:
source("https://install-github.me/zzawadz/dragulaR")
Demo:
Drag’n’drop plots:
library(dragulaR)
runApp(system.file("apps/example01-dragula", package = "dragulaR"))
Track what is in the containers:
runApp(system.file("apps/example02-input", package = "dragulaR"))
Works with renderUI
runApp(system.file("apps/example06-dragula-dynamic-elements-renderUI", package = "dragulaR"))
runApp(
system.file("apps/example06-dragula-dynamic-elements-renderUI", package = "dragulaR"),
display.mode = "showcase")
All examples
library(dragulaR)
dir(system.file("apps/", package = "dragulaR"))
# dashboard-example
# example01-dragula
# example02-input
# example03-dragula-get-elements-order
# example04-dragula-module
# example05-dragula-dynamic-elements
# example06-dragula-dynamic-elements-renderUI