IGV.js trackclick Event Example 2

In this example we show how to use the trackclick event to disable the default pop-over. Instead we're going to use it as a hook to implement custom click behavior.

Try it out:

  1. Click on any features on the gene track.
  2. Notice the genes you've clicked get added to the list on the right.
cursor guide
center line
track labels
Save SVG

Selected Genes