Learnr question types

New question types for learnr tutorials

question_rank()

Ranking question for learnr tutorials.

Widgets

These functions create htmlwidgets with drag-and-drop behaviour

rank_list()

Create a ranking item list.

bucket_list()

Create a bucket list.

add_rank_list()

Add a rank list inside bucket list.

Widget style sheets

Control the look-and-feel of your widgets

add_rank_list()

Add a rank list inside bucket list.

bucket_list()

Create a bucket list.

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.

render_sortable()

Widget render function for use in Shiny.

sortable_js()

Creates an htmlwidget with embedded 'SortableJS' library.

sortable_js_capture_input() sortable_js_capture_bucket_input()

Construct JavaScript method to capture Shiny inputs on change.

sortable_options()

Define options to pass to a sortable object.

sortable_output()

Widget output function for use in Shiny.

Access the SortableJS library

Lower level access to the SortableJS library

sortable_js()

Creates an htmlwidget with embedded 'SortableJS' library.

sortable_js_capture_input() sortable_js_capture_bucket_input()

Construct JavaScript method to capture Shiny inputs on change.

sortable_options()

Define options to pass to a sortable object.

is_sortable_options()

Check if object is sortable options.

chain_js_events()

Chain multiple JavaScript events

Shiny functions

Using sortable functions inside a Shiny app

render_sortable()

Widget render function for use in Shiny.

sortable_output()

Widget output function for use in Shiny.

Package documentation

sortable

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