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

Allow arbitrary events #236

Closed abought closed 3 years ago

abought commented 3 years ago

Currently, LocusZoom can only emit events defined in event_hooks. To support plugins and feature metrics, we would like events to be extensible: it should be possible for plugins and custom elements to emit new events and payloads.

This may involve relaxing the validation rules, or providing a system for registering events explicitly (if we want to retain the validation logic)