locuschange
Event ExampleIn this example we want to update the page URL whenever the IGV viewer locus changes. This allows us to
capture an exact location in the URL so that it can be shared. To do this, we subscribe to the locuschange
event and update the page URL to match the current locus.