sortable v0.4.4

0

Monthly downloads

0th

Percentile

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

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.

Functions in sortable

Name Description
render_sortable Widget render function for use in Shiny.
chain_js_events Chain multiple JavaScript events
is_sortable_options Check if object is sortable options.
question_rank Ranking question for learnr tutorials.
rank_list Create a ranking item list.
sortable_js_capture_input Construct JavaScript method to capture Shiny inputs on change.
sortable_js Creates an htmlwidget with embedded 'SortableJS' library.
sortable sortable: Drag-and-Drop in 'shiny' Apps with 'SortableJS'
add_rank_list Add a rank list inside bucket list.
sortable_options Define options to pass to a sortable object.
sortable_output Widget output function for use in Shiny.
bucket_list Create a bucket list.
No Results!

Vignettes of sortable

Name
figures/clone_delete.gif
figures/drag_vars_to_plot.gif
figures/simple_rank_list.gif
figures/sortable_tabs.gif
built_in.Rmd
cloning.Rmd
novel_solutions.Rmd
understanding_sortable_js.Rmd
using_custom_css.Rmd
No Results!

Last month downloads

Details

Type Package
License MIT + file LICENSE
URL https://github.com/rstudio/sortable, https://rstudio.github.io/sortable/
BugReports https://github.com/rstudio/sortable/issues
VignetteBuilder knitr
Encoding UTF-8
LazyData TRUE
RoxygenNote 7.1.1
Language en-US
NeedsCompilation no
Packaged 2020-09-17 16:58:18 UTC; apdev
Repository CRAN
Date/Publication 2020-09-17 18:00:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/sortable)](http://www.rdocumentation.org/packages/sortable)