diff --git a/_posts/plotly_js/chart-events/events/2017-01-01-order10_afterplot.html b/_posts/plotly_js/chart-events/events/2017-01-01-order10_afterplot.html index 1a485177cf15..c48b097554d8 100644 --- a/_posts/plotly_js/chart-events/events/2017-01-01-order10_afterplot.html +++ b/_posts/plotly_js/chart-events/events/2017-01-01-order10_afterplot.html @@ -3,7 +3,7 @@ plot_url: https://codepen.io/plotly/embed/YeGGdy/?height=500&theme-id=15263&default-tab=result language: plotly_js suite: events -order: 11 +order: 10.2 sitemap: false arrangement: horizontal markdown_content: | diff --git a/_posts/plotly_js/chart-events/events/2017-01-01-order7_doubleclick_event.html b/_posts/plotly_js/chart-events/events/2017-01-01-order7_doubleclick_event.html index d72a8b071c86..c7fd6d6cf9cb 100644 --- a/_posts/plotly_js/chart-events/events/2017-01-01-order7_doubleclick_event.html +++ b/_posts/plotly_js/chart-events/events/2017-01-01-order7_doubleclick_event.html @@ -3,7 +3,7 @@ plot_url: https://codepen.io/plotly/embed/WoZOdq/?height=500&theme-id=15263&default-tab=result language: plotly_js suite: events -order: 11 +order: 10.3 sitemap: false arrangement: horizontal markdown_content: | diff --git a/_posts/plotly_js/chart-events/events/2017-01-01-order8_add_events.html b/_posts/plotly_js/chart-events/events/2017-01-01-order8_add_events.html index 3d8291f8a649..b41a0923e47e 100644 --- a/_posts/plotly_js/chart-events/events/2017-01-01-order8_add_events.html +++ b/_posts/plotly_js/chart-events/events/2017-01-01-order8_add_events.html @@ -7,7 +7,7 @@ sitemap: false arrangement: horizontal markdown_content: | - The following Plotly events do not emit additional data or update information: [`plotly_afterplot`](), [`plotly_autosize`](), [`plotly_deselect`](), [`plotly_doubleclick`](), [`plotly_redraw`](), and [`plotly_animated`](). These event handlers can be used to notify or trigger an additional event with the following syntax: + The following Plotly events do not emit additional data or update information: [`plotly_webglcontextlost`](#webgl-context-lost-event), [`plotly_afterplot`](#afterplot-event), [`plotly_autosize`](), [`plotly_deselect`](), [`plotly_doubleclick`](#double-click-event), [`plotly_redraw`](), and [`plotly_animated`](). These event handlers can be used to notify or trigger an additional event with the following syntax: --- function eventTriggeredHandler() { diff --git a/_posts/plotly_js/chart-events/events/2018-10-04-webglcontextlost.html b/_posts/plotly_js/chart-events/events/2018-10-04-webglcontextlost.html new file mode 100644 index 000000000000..dd17a1e1ee06 --- /dev/null +++ b/_posts/plotly_js/chart-events/events/2018-10-04-webglcontextlost.html @@ -0,0 +1,12 @@ +--- +name: Webgl Context Lost Event +language: plotly_js +suite: events +order: 10.1 +sitemap: false +arrangement: horizontal +markdown_content: | + Plotly graphs which use WebGL receive a "WebGL context" from the browser which gives them access to gpu resources. + A program may lose its WebGL context if the browser is overloaded with them and is forced to shut one down. + The event handler: `plotly_webglcontextlost`, can be used to trigger an event after a graph loses it's WebGL context. +---