sortable (version 0.4.4)

sortable: sortable: Drag-and-Drop in 'shiny' Apps with 'SortableJS'

Description

logo

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.

Arguments

A new html widget

  • sortable_js() is a low-level function that adds the SortableJS to your widgets.

Important functions

The important functions in this package are:

Custom question types for <code>learnr</code>

You can also use new question types in your learnr tutorials:

See Also

Useful links: