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_slider||Range filter control|
|getDefaultReactiveDomain||Get default reactive domain|
|is.SharedData||Check if an object is SharedData|
|SharedData||Shared data frame|
|bscols||Arrange HTML elements or widgets in Bootstrap columns|
|maintain_selection||Synchronize Shiny brush selection with shared data|
|filter_select||Categorical filter controls|
Last month downloads
|License||MIT + file LICENSE|
|Packaged||2021-01-11 23:28:16 UTC; cpsievert|
|Date/Publication||2021-01-12 10:00:02 UTC|
|suggests||ggplot2 , shiny , testthat (>= 2.1.0)|
|imports||htmltools (>= 0.3.6) , jsonlite , lazyeval , R6|
|Contributors||Joe Cheng, 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