Need help with shinyjqui?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Yang-Tang
223 Stars 31 Forks Other 130 Commits 24 Opened issues

Description

jQuery UI Interactions and Effects for Shiny

Services available

!
?

Need anything else?

Contributors list

# 268,428
R
shiny
JavaScr...
jquery-...
92 commits
# 688,477
R
shiny
JavaScr...
jquery-...
1 commit

shinyjqui

Travis-CI Build Status AppVeyor Build Status CRAN\_Status\_Badge

The shinyjqui package is an R wrapper for jQuery UI javascript library. It allows user to easily add interactions and animation effects to a shiny app.

Installation

You can install the stable version from CRAN, or the development version from github with:

# install from CRAN
install.packages('shinyjqui')

for the development version

devtools::install_github("yang-tang/shinyjqui")

Usage

# load packages
library(shiny)
library(shinyjqui)
library(ggplot2)
library(highcharter)
  • Draggable: Allow elements to be moved using the mouse
server 

  • Resizable: Change the size of an element using the mouse.
server 

  • Sortable: Reorder elements in a list or grid using the mouse.
server % 
      hc_legend(enabled = FALSE)
  })
  output$gg 

  • Animation Effects: Apply an animation effect to an element. Effects can also be used in hide or show.
server 

  • Classes transformation: Add and remove class(es) to elements while animating all style changes.
server  0) {
      jqui_remove_class('#foo', paste(class_to_remove, collapse = ' '), duration = 1000)}
    if(length(class_to_add) > 0) {
      jqui_add_class('#foo', paste(class_to_add, collapse = ' '), duration = 1000)}
  })

}

ui

  • orderInput(): Display a list of items. Their order can be changed by drag and drop.
server 

  • sortableTableOutput(): Render a HTML table with sortable rows.
ui 

  • selectableTableOutput(): Render a HTML table with selectable rows or cells.
ui 

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.