Shiny Searchbar - An Input Widget for Highlighting Text and More
Configuration Options List for mark.js API
Non-blocking match.arg with better error reporting.
Shiny Searchbar Demos
Underscore Join Operator
Shiny's internal %AND% function
Names-Not-In Operator
Create the searchbar widget.
Shiny's internal shinyInputLabel function
Update mark.js Options for an Initialized Searchbar Widget
Validate the Options Passed to mark.js API
Add a searchbar widget to your 'Shiny' application. The widget quickly integrates with any existing element containing text to highlight matches. Highlighting is done with the 'JavaScript' library 'mark.js'. The widget includes buttons to cycle through multiple instances of the match and automatically scroll to the matches in an overflow element (or window). The widget also displays the total number of matches and which match is currently being cycled through. The widget is structured as a 'Bootstrap 3' input group.
Useful links