This function simply creates an object of class crosstalk::SharedData. The reason it exists is to make it easier to teach others how to leverage it's functionality in plotly. It also makes it more discoverable if one is already aware of highlight.
highlight_key(...)
arguments passed to crosstalk::SharedData$new()
An object of class crosstalk::SharedData