Learn R Programming

⚠️There's a newer version (0.4.5) of this package.Take me there.

sortable (version 0.4.4)

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

Description

Enables drag-and-drop behaviour in Shiny apps, by exposing the functionality of the 'SortableJS' 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.

Copy Link

Version

Install

install.packages('sortable')

Monthly Downloads

2,400

Version

0.4.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Andrie Vries

Last Published

September 17th, 2020

Functions in sortable (0.4.4)

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.