Package: sortable 0.5.0.9000
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:
sortable_0.5.0.9000.tar.gz
sortable_0.5.0.9000.zip(r-4.5)sortable_0.5.0.9000.zip(r-4.4)sortable_0.5.0.9000.zip(r-4.3)
sortable_0.5.0.9000.tgz(r-4.4-any)sortable_0.5.0.9000.tgz(r-4.3-any)
sortable_0.5.0.9000.tar.gz(r-4.5-noble)sortable_0.5.0.9000.tar.gz(r-4.4-noble)
sortable_0.5.0.9000.tgz(r-4.4-emscripten)sortable_0.5.0.9000.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')) |
Bug tracker:https://github.com/rstudio/sortable/issues
Last updated 2 months agofrom:2b938859b4. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 11 2024 |
R-4.5-win | NOTE | Nov 11 2024 |
R-4.5-linux | NOTE | Nov 11 2024 |
R-4.4-win | NOTE | Nov 11 2024 |
R-4.4-mac | NOTE | Nov 11 2024 |
R-4.3-win | NOTE | Nov 11 2024 |
R-4.3-mac | NOTE | Nov 11 2024 |
Exports:add_rank_listbucket_listchain_js_eventsis_sortable_optionsquestion_rankrank_listrender_sortablesortable_jssortable_js_capture_bucket_inputsortable_js_capture_inputsortable_optionssortable_outputupdate_bucket_listupdate_rank_list
Dependencies:assertthatbackportsbase64encbslibcachemcheckmateclicommonmarkcrayondigestevaluatefastmapfontawesomefsgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonliteknitrlaterlearnrlifecyclemagrittrmarkdownmemoisemimepromisesR6rappdirsRcpprenvrlangrmarkdownrprojrootsassshinysourcetoolstinytexwithrxfunxtableyaml
Cloning and removing elements
Rendered fromcloning.Rmd
usingknitr::rmarkdown
on Nov 11 2024.Last update: 2024-09-12
Started: 2020-08-22
Dynamically updating a rank_list element
Rendered fromupdating_rank_list.Rmd
usingknitr::rmarkdown
on Nov 11 2024.Last update: 2024-09-12
Started: 2021-04-22
Novel solutions using sortable in shiny apps
Rendered fromnovel_solutions.Rmd
usingknitr::rmarkdown
on Nov 11 2024.Last update: 2024-09-12
Started: 2019-07-03
Understanding the interface to sortable.js
Rendered fromunderstanding_sortable_js.Rmd
usingknitr::rmarkdown
on Nov 11 2024.Last update: 2024-09-12
Started: 2019-06-25
Using custom styles with CSS
Rendered fromusing_custom_css.Rmd
usingknitr::rmarkdown
on Nov 11 2024.Last update: 2024-09-12
Started: 2020-02-06
Using rank list and bucket lists in Shiny apps
Rendered frombuilt_in.Rmd
usingknitr::rmarkdown
on Nov 11 2024.Last update: 2024-09-12
Started: 2020-08-24
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Add a rank list inside bucket list. | add_rank_list |
Create a bucket list. | bucket_list |
Chain multiple JavaScript events | chain_js_events |
Check if object is sortable options. | is_sortable_options |
Ranking question for learnr tutorials. | question_rank |
Create a ranking item list. | rank_list |
Widget render function for use in Shiny. | render_sortable |
Creates an htmlwidget with embedded 'SortableJS' library. | sortable_js |
Construct JavaScript method to capture Shiny inputs on change. | sortable_js_capture_bucket_input sortable_js_capture_input |
Define options to pass to a sortable object. | sortable_options |
Widget output function for use in Shiny. | sortable_output |
Change the value of a bucket list. | update_bucket_list |
Change the text or labels of a rank list. | update_rank_list |