shinyjqui 0.4.1
CRAN release: 2022-02-03
-
Bug fix:
jqui_resizable()cannot return the current size in time. (#77) -
Bug fix:
orderInput()not work with named vector/list duo to the update ofjsonlite. (#81) - Bug fix: The interaction related shiny input values were not assigned to the correct id in the nested shiny outputs. (#77)
- Bug fix: The interaction related shiny input values react with non-shinyjqui-binding elements. (#83)
shinyjqui 0.4.0
CRAN release: 2021-02-23
-
New feature: (Experimentally) Now the interaction functions can work on static htmlwidgets in RStudio Viewer or RMarkdown (e.g.
jqui_resizable(plotly::plot_ly(data = iris, x = ~Sepal.Length, y = ~Petal.Length))). (#44) -
New feature: Now
orderInput()can be updated withupdateOrderInput(). (#41, #57) -
New feature: Items of an
orderInput()can now be deleted by drag and drop them to an “source”orderInput(). (Idea from raytong #65) -
New feature: New
jqui_position()function to position a shiny ui relative to another. - New feature: Uses TouchPunch to enable mobile use. (Thanks @rquitales, #45)
-
Breaking change: The
orderInputfunction is now implemented in the similar way as other shiny inputs, so its input value has been changed frominput$inputId_ordertoinput$inputId. -
Breaking change: Removed
jqui_draggabled(),jqui_droppabled(),jqui_resizabled(),jqui_selectabled(),jqui_sortabled()andincludeJqueryUI()as they have been deprecated for a long time. -
Breaking change: Removed deprecated
selector,tagandswitchparameters from interaction and effect functions. -
Bug fix: Effect-specific options are no longer ignored by
jqui_effect(). (#56) -
Bug fix:
input$id_orderof sortable now return values when theconnectToSortableoption is used. -
Bug fix: Nested interaction functions was not working with a shiny tag without an id (e.g.
jqui_resizable(jqui_draggable(div("aaa")))). (#66) - Bug fix: Nested interaction functions showed “Action abort” warning to a shiny tag without an id. (#66)
-
Bug fix: When using
loadoperation to a sortable element ororderInput, the items from other “source”orderInputs were not removed. (#70) -
Bug fix: Enable
NULLlabel inorderInput(). (#63) -
Bug fix: A regression bug introduced in v0.3.3 that interactive tag is not effective when inserted by
insertUI. (#58)
shinyjqui 0.3.3
CRAN release: 2020-02-03
- Bug fix: Fixed an incompatibility with Shiny v1.4.0: due to Shiny upgrading from jQuery 1.x to 3.x, the timing of shinjqui initialization routines has changed.
-
Bug fix:
sortableRadioButtons/sortableCheckboxGroupInputdo not work when inline. (@sam-harvey, #37). -
Bug fix: For interaction functions, the
shinyoptions with the same suffix will overwrite the default settings, thus affect the return value of other interaction widgets. (#43) -
Bug fix: Interaction functions not working in
uimode in flexdashboard. (#53) - Add global option
shinyjqui.debug, can beTUREorFALSE(default), to control whether to load the original/minifiedshinyjqui.js(#39) and to display/hide javascript debug message (e.g.options(shinyjqui.debug = TRUE)) (#3).
shinyjqui 0.3.2
CRAN release: 2018-07-25
-
Bug fix: The interaction functions were not working in
uimode when theuihas an id with spaces. -
Bug fix: The interaction functions were not working in
uimode when there are other output elements exist. (#25) - Bug fix: Effect and class functions were not working duo to the upgrade of v0.3.0. (#26, #28)
shinyjqui 0.3.1
CRAN release: 2018-07-08
-
Bug fix: The interaction functions were not working in
selectormode duo to the v0.3.0 update. -
Bug fix: For the shiny output elements created by
insertUIorrenderUI, the mouse interaction effects are now working.
shinyjqui 0.3.0
CRAN release: 2018-07-01
-
New feature: Introduce
saveandloadoperations to mouse-interaction attached html elements. This enabled client-side store and restore the elements’ states (eg. position, size, selection and order). (#16) -
New feature: The
-ablefunctions can be used in both shinyserverandui, and therefore, the-abledfunctions are deprecated. - New feature: Adds shiny bookmark supporting to mouse-interaction attached html elements. This enabled server-side or across-client store and restore the elements’ states (eg. position, size, selection and order). (#12)
-
New feature: Now, all interaction functions’
selectorargument acceptsJS()wrapped javascript expression. This made the target element selection more flexible. -
New feature: Add
draggableModalDialog(),sortableCheckboxGroupInput(),sortableRadioButtons(),sortableTabsetPanel(),sortableTableOutput()andselectableTableOutput()functions to create shiny inputs and outputs with mouse interactions. -
Breaking change: The
switchargument in mouse-interaction functions was replaced withoperationargument to support more options. -
Breaking change: The shiny input values
selectedfrom selectable andorderfrom sortable now return elements’innerTextinstead ofinnerHTML. - Bug fix: The mouse interaction function doesn’t work when the same element is inserted again. (#6, #8)
- Bug fix: Resizable interferes with other interactions when the target element is a shiny output. (#10)
-
Bug fix: Add
htmlDependencytojqui_icon()to make it work in version 0.2.0 and above.
shinyjqui 0.2.0
CRAN release: 2017-07-04
- No longer needed to call
includeJqueryUI()before using othershinyjquifunctions.(#4) - New
jqui_icon()to create a jQuery UI icon. - New
jqui_toggle()to toggle display/hide state of a shiny html element with animation. - New pre-defined interaction-specific shiny input values:
is_draggingfor draggable;over,drop,droppedandoutfor droppable;is_resizingfor resizable;is_selectingfor selectable.(#1) See vignettes for details. - Minify
shinyjqui.js.(#3) - Import and export
JS()fromhtmlwidgetspackage. - Add pkgdown docs.
- Documentation with Roxygen2 6.0.1.