dragula: Register containers to dragula.

Description Usage Arguments Value Examples

View source: R/dragula.R

Description

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

Usage

1

Arguments

x

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

...

additonal arguments passed to dragula JS as options. E.g. id will be an id to read from in shiny.

Value

Return htmlWidget. Should be used only inside shiny ui.

Examples

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

zzawadz/dragulaR documentation built on July 24, 2020, 4:45 a.m.