Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b006c0c

Browse files
Add onWebGlContextLost event
1 parent 3f919e5 commit b006c0c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎README.md

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /