Drag-and-Drop in 'shiny' Apps with 'SortableJS'
Add a rank list inside bucket list.
Create a bucket list.
Chain multiple JavaScript events
Check if object is sortable options.
Check if shiny modules are enabled for sortable.
Ranking question for learnr tutorials.
Create a ranking item list.
Widget render function for use in Shiny.
Construct JavaScript method to capture Shiny inputs on change.
Creates an htmlwidget with embedded 'SortableJS' library.
Define options to pass to a sortable object.
Widget output function for use in Shiny.
sortable: Drag-and-Drop in 'shiny' Apps with 'SortableJS'
Change the value of a bucket list.
Change the text or labels of a rank list.
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.