Create dragula instace to allow moving around elements of the registered containers.

dragula(x, id = NULL)

Arguments

x

vector of containers ids. Their's elements will become draggable.

id

input id to read from in shiny.

Value

Return htmlWidget. Should be used only inside shiny ui.

Examples

if(interactive()) { path <- system.file("apps/example01-dragula", package = "dragulaR") runApp(path, display.mode = "showcase") }