IGV.js trackclick
Event Example
In this example we show how to use the trackclick
event to customize the contents of the gene
track pop-over. To do this, we subscribe to the trackclick
event and return custom pop-over
HTML to
override the default appearance.
Try it out:
- Click on any feature on the gene track.
- Notice that the pop-over text has been customized to include a link.