I didn’t see anything about this in the API documentation, but perhaps I missed it. I love the functionality of the button, but is there anything to detect a more arbitrary hover or click event?
Some example use cases:
Hover on a matplotlib to get a bunch of metadata about how it was generated
Click on a sample to replace it with more stats about it. Click on the stats to toggle it back to stats
With this question and some of your other ones in this forum you’re pretty much just going through our feature roadmap
The ability to use different elements as inputs is something we have some early API designs for, but it will take a few months until we implement anything in that direction.