Inter-Widget Interactivity for HTML Widgets
Provides building blocks for allowing HTML widgets to communicate
with each other, with Shiny or without (i.e. static .html files). Currently
supports linked brushing and filtering.
Crosstalk is a package for R that enhances the htmlwidgets package. It extends htmlwidgets with a set of classes, functions, and conventions for implementing cross-widget interactions (currently, linked brushing and filtering).
Find out more at the documentation website: http://rstudio.github.io/crosstalk/
inst/www/js/. Anytime you make changes to
To set up your repo for building the minified JS:
- First install nvm if you don't have it already.
- In the crosstalk repo's root directory, run
nvm install; this will install the version of Node.js we need.
nvm useto switch to our version of Node.js.
npm installto install all Node.js dependencies.
To actually build the minified JS:
nvm use(only needed once per terminal session).
node node_modules/.bin/grunt(or if you have installed
grunt-cliglobally, you can just run
Functions in crosstalk
|filter_select||Categorical filter controls|
|filter_slider||Range filter control|
|maintain_selection||Synchronize Shiny brush selection with shared data|
|getDefaultReactiveDomain||Get default reactive domain|
|is.SharedData||Check if an object is SharedData|
|bscols||Arrange HTML elements or widgets in Bootstrap columns|
|SharedData||An R6 class that represents a shared data frame|
Last month downloads
|License||MIT + file LICENSE|
|Packaged||2020-03-12 23:34:05 UTC; jcheng|
|Date/Publication||2020-03-13 10:20:06 UTC|
|suggests||ggplot2 , shiny , testthat (>= 2.1.0)|
|imports||htmltools (>= 0.3.6) , jsonlite , lazyeval , R6|
|Contributors||Brian Reavis, Mark Otto, Jacob Thornton, Kristopher Michael Kowal, Denis Ineshin, Sami Samhuri, RStudio, jQuery Foundation, jQuery contributors, Bootstrap contributors, Twitter, Inc, es5-shim contributors|
Include our badge in your README