Package: sortable 0.5.0

Andrie de Vries

sortable: 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.

Authors:Andrie de Vries [cre, aut], Barret Schloerke [aut], Kenton Russell [aut, ccp], RStudio [cph, fnd], Lebedev Konstantin [cph]

sortable_0.5.0.tar.gz
sortable_0.5.0.zip(r-4.5)sortable_0.5.0.zip(r-4.4)sortable_0.5.0.zip(r-4.3)
sortable_0.5.0.tgz(r-4.4-any)sortable_0.5.0.tgz(r-4.3-any)
sortable_0.5.0.tar.gz(r-4.5-noble)sortable_0.5.0.tar.gz(r-4.4-noble)
sortable_0.5.0.tgz(r-4.4-emscripten)sortable_0.5.0.tgz(r-4.3-emscripten)
sortable.pdf |sortable.html
sortable/json (API)
NEWS

# Install sortable in R:
install.packages('sortable', repos = c('https://rstudio.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rstudio/sortable/issues

On CRAN:

htmlwidget

13 exports 127 stars 5.20 score 46 dependencies 17 dependents

Last updated 3 months agofrom:01333c83a312b621df2a2d2a2b7e17717c37f018

Exports:add_rank_listbucket_listchain_js_eventsis_sortable_optionsquestion_rankrank_listrender_sortablesortable_jssortable_js_capture_bucket_inputsortable_js_capture_inputsortable_optionssortable_outputupdate_bucket_list

Dependencies:assertthatbackportsbase64encbslibcachemcheckmateclicommonmarkcrayondigestellipsisevaluatefastmapfontawesomefsgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonliteknitrlaterlearnrlifecyclemagrittrmarkdownmemoisemimepromisesR6rappdirsRcpprenvrlangrmarkdownrprojrootsassshinysourcetoolstinytexwithrxfunxtableyaml

Cloning and removing elements

Rendered fromcloning.Rmdusingknitr::rmarkdownon May 30 2024.

Last update: 2023-01-17
Started: 2020-08-22

Dynamically updating a rank_list element

Rendered fromupdating_rank_list.Rmdusingknitr::rmarkdownon May 30 2024.

Last update: 2021-04-22
Started: 2021-04-22

Novel solutions using sortable in shiny apps

Rendered fromnovel_solutions.Rmdusingknitr::rmarkdownon May 30 2024.

Last update: 2021-12-05
Started: 2019-07-03

Understanding the interface to sortable.js

Rendered fromunderstanding_sortable_js.Rmdusingknitr::rmarkdownon May 30 2024.

Last update: 2023-01-17
Started: 2019-06-25

Using custom styles with CSS

Rendered fromusing_custom_css.Rmdusingknitr::rmarkdownon May 30 2024.

Last update: 2021-04-22
Started: 2020-02-06

Using rank list and bucket lists in Shiny apps

Rendered frombuilt_in.Rmdusingknitr::rmarkdownon May 30 2024.

Last update: 2021-04-22
Started: 2020-08-24