orderInput()
and updateOrderInput()
can now accept a list of item_classes which would be recycled if necessary to match the length of items. (#96)shinycssloaders
package. Now you can combine the interaction functions with shinycssloaders::withSpinner()
. Both jqui_resizable(withSpinner(plotOutput('gg')))
and withSpinner(jqui_resizable(plotOutput('gg')))
should work. (#88)connect
parameter of updateOrderInput()
accepts vector with length > 1 (#89, #93)updateOrderInput()
when updating items.jqui_resizable()
cannot return the current size in time. (#77)orderInput()
not work with named vector/list duo to the update of jsonlite
. (#81)jqui_resizable(plotly::plot_ly(data = iris, x = ~Sepal.Length, y = ~Petal.Length))
). (#44)orderInput()
can be updated with updateOrderInput()
. (#41, #57)orderInput()
can now be deleted by drag and drop them to an "source" orderInput()
. (Idea from raytong #65)jqui_position()
function to position a shiny ui relative to another.orderInput
function is now implemented in the similar way as other shiny inputs, so its input value has been changed from input$inputId_order
to input$inputId
.jqui_draggabled()
, jqui_droppabled()
, jqui_resizabled()
, jqui_selectabled()
, jqui_sortabled()
and includeJqueryUI()
as they have been deprecated for a long time.selector
, tag
and switch
parameters from interaction and effect functions.jqui_effect()
. (#56)input$id_order
of sortable now return values when the connectToSortable
option is used.jqui_resizable(jqui_draggable(div("aaa")))
). (#66)load
operation to a sortable element or orderInput
, the items from other "source" orderInput
s were not removed. (#70)NULL
label in orderInput()
. (#63)insertUI
. (#58)sortableRadioButtons
/sortableCheckboxGroupInput
do not work when inline. (@sam-harvey, #37).shiny
options with the same suffix will overwrite the default settings, thus affect the return value of other interaction widgets. (#43)ui
mode in flexdashboard. (#53)shinyjqui.debug
, can be TURE
or FALSE
(default), to control whether to load the original/minified shinyjqui.js
(#39) and to display/hide javascript debug message (e.g. options(shinyjqui.debug = TRUE)
) (#3).ui
mode when the ui
has an id with spaces.ui
mode when there are other output elements exist. (#25)selector
mode duo to the v0.3.0 update.insertUI
or renderUI
, the mouse interaction effects are now working.save
and load
operations to mouse-interaction attached html elements. This enabled client-side store and restore the elements' states (eg. position, size, selection and order). (#16)-able
functions can be used in both shiny server
and ui
, and therefore, the -abled
functions are deprecated.selector
argument accepts JS()
wrapped javascript expression. This made the target element selection more flexible.draggableModalDialog()
, sortableCheckboxGroupInput()
, sortableRadioButtons()
, sortableTabsetPanel()
, sortableTableOutput()
and selectableTableOutput()
functions to create shiny inputs and outputs with mouse interactions.switch
argument in mouse-interaction functions was replaced with operation
argument to support more options.selected
from selectable and order
from sortable now return elements' innerText
instead of innerHTML
.htmlDependency
to jqui_icon()
to make it work in version 0.2.0 and above.includeJqueryUI()
before using other shinyjqui
functions.(#4)jqui_icon()
to create a jQuery UI icon.jqui_toggle()
to toggle display/hide state of a shiny html element with animation.is_dragging
for draggable; over
, drop
, dropped
and out
for droppable; is_resizing
for resizable; is_selecting
for selectable.(#1) See vignettes for details.shinyjqui.js
.(#3)JS()
from htmlwidgets
package.NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.