Does plotly.js emit any event(s) when it is being destroyed?
(The only events I am aware of are those on the plotlyjs-events page)
I ask because I am working on writing an Ember addon (ember-cli-plotly
) to integrate it into web/electron applications, and I want to make sure that it does the clean-up/tear-down correctly.
Not at the moment, unfortunately
Would I be a horrible developer if I monkey-patched .purge
to fire an event? (I realize there may be other things that trigger destruction.)