This example demonstrates the new roiadded and roiremoved events in IGV.js. Add ROIs by sweeping on the ruler, and remove them using the context menu. Event details will be logged below.
roiadded
roiremoved