diff --git a/README.md b/README.md index 2cd242a..5540cb8 100644 --- a/README.md +++ b/README.md @@ -180,6 +180,7 @@ Event handlers for specific [`plotly.js` events](https://plot.ly/javascript/plot | `onTransitioning` | `Function` | `plotly_transitioning` | | `onTransitionInterrupted` | `Function` | `plotly_transitioninterrupted` | | `onUnhover` | `Function` | `plotly_unhover` | +| `onWebGlContextLost` | `Function` | `plotly_webglcontextlost` | ## Customizing the `plotly.js` bundle diff --git a/src/factory.js b/src/factory.js index d6444b9..9911014 100644 --- a/src/factory.js +++ b/src/factory.js @@ -35,6 +35,7 @@ const eventNames = [ 'Transitioning', 'TransitionInterrupted', 'Unhover', + 'WebGlContextLost', ]; const updateEvents = [