IGV.js locuschange
Event Example
In this example we want to update the page URL whenever the IGV viewer locus changes.
To do this, we subscribe to the locuschange
.
Try it out:
- Zoom or pan the canvas in the IGV viewer.
- Notice that the page URL updated to match the new locus.