statgen / locuszoom

A Javascript/d3 embeddable plugin for interactively visualizing statistical genetic data from customizable sources.
https://statgen.github.io/locuszoom/
MIT License
154 stars 29 forks source link

Add `LocusZoom.destroy` destructor for cleanup #191

Closed abought closed 4 years ago

abought commented 4 years ago

Add a reliable way to clean up plot instances when unmounting a LocusZoom component. This will be particularly useful for dynamic pages, or those that use multiple LocusZoom plot instances.

abought commented 4 years ago

Closed in #193.