Enables drag-and-drop behaviour in Shiny apps, by exposing the functionality of the 'SortableJS' https://sortablejs.github.io/Sortable/ JavaScript library as an 'htmlwidget'. You can use this in Shiny apps and widgets, 'learnr' tutorials as well as R Markdown. In addition, provides a custom 'learnr' question type - 'question_rank()' - that allows ranking questions with drag-and-drop.
A new html widget
sortable_js()
is a low-level function that adds theSortableJS
to your widgets.
Important functions
The important functions in this package are:
rank_list()
creates a drag-and-drop, rank listbucket_list()
lets you add multiplerank_list
objects in columns
Author
Maintainer: Andrie de Vries apdevries@gmail.com
Authors:
Barret Schloerke barret@rstudio.com
Kenton Russell kent.russell@timelyportfolio.com (Original author) [conceptor]
Other contributors:
RStudio [copyright holder, funder]
Lebedev Konstantin ('SortableJS', https://sortablejs.github.io/Sortable/) [copyright holder]