Description Usage Arguments Details Value Examples
Helper function to create the JavaScript event handler code for
the selectizeInput
filters of a shiny app using shinyfilters
.
1 |
name |
Name of the event/input variable set by the |
Processing the onChange
event of the selectizeInput
widgets that serve as the filters is necessary so that filters all the
other shinyfilter
filters bound to the same reactable
can be
updated accordingly and show the currently available filter options. All
selectizeInput
should have exactly the same event handler.
You can of course create the JavaScript code for the onChange
event
handler function yourself, especially if you want to trigger additional
operations in JavaScript whenever an onChange
event occurs.
event()
function is just intended as a shortcut to save time and
effort.
For a full example of a shiny app using shinyfilter
please call up
the help for update_filters()
. See the README.md
file
or the GitHub repo on
https://github.com/jsugarelli/shinyfilter
for a comprehensive shinyfilter
tutorial.
JavaScript code for the onChange
event.
1 | event("myEvent")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.