Skip to content

Commit 679345f

Browse files
authored
Merge pull request #222 from markovist/master
Add onWebGlContextLost event
2 parents 3f919e5 + b006c0c commit 679345f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ Event handlers for specific [`plotly.js` events](https://plot.ly/javascript/plot
180180
| `onTransitioning` | `Function` | `plotly_transitioning` |
181181
| `onTransitionInterrupted` | `Function` | `plotly_transitioninterrupted` |
182182
| `onUnhover` | `Function` | `plotly_unhover` |
183+
| `onWebGlContextLost` | `Function` | `plotly_webglcontextlost` |
183184

184185
## Customizing the `plotly.js` bundle
185186

src/factory.js

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const eventNames = [
3535
'Transitioning',
3636
'TransitionInterrupted',
3737
'Unhover',
38+
'WebGlContextLost',
3839
];
3940

4041
const updateEvents = [

0 commit comments

Comments
 (0)