Create a dragzone container
dragZone(id, choices, ...)
id | The container id. |
---|---|
choices | List of values to select from. |
... | Additional arguments passed along to tags$div, such as class |
#> <div id="dragzone" class="ds-dragzone"> #> <div data-value="one" data-instance class="ds-dragitem">One</div> #> <div data-value="two" data-instance class="ds-dragitem">Two</div> #> <div data-value="three" data-instance class="ds-dragitem">Three</div> #> <div data-value="four" data-instance class="ds-dragitem">Four</div> #> </div>