knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(sortable)
This example demonstrates how to use custom sortable widgets with any shiny object.
library(htmltools) tags$div( class = "shiny-app-frame", tags$iframe( src = "https://andrie-de-vries.shinyapps.io/sortable_drag_vars_to_plot_app/", width = 800, height = 700 ) )
knitr::read_chunk( system.file("shiny/drag_vars_to_plot/app.R", package = "sortable") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.