Learn R Programming

shinyDND (version 0.1.0)

dragSetUI: dragSetUI

Description

With draggable elements, you may not want to create one at a time, instead creating a set with a common id prefix. This simplifies the process to pass a vector of elements instead of using a loop or apply function to generate

Usage

dragSetUI(id, textval = list(""))

Arguments

id
The div id of the draggable element set
textval
The list with the name for each of the draggable elements

Value

Returns the set of dragable div elements.

Examples

Run this code
dragSetUI("dragset", list("foo", "bar", "baz"))

Run the code above in your browser using DataLab