You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -194,6 +194,7 @@ You can see an example of this method in action [here](https://codepen.io/rsreus
194
194
|`revision`|`Number`|`undefined`| When provided, causes the plot to update *only* when the revision is incremented. |
195
195
|`debug`|`Boolean`|`false`| Assign the graph div to `window.gd` for debugging |
196
196
|`onInitialized`|`Function`|`undefined`| Callback executed after plot is initialized |
197
+
|`onPurge`|`Function`|`undefined`| Callback executed when component unmounts. Unmounting triggers a Plotly.purge event which strips the graphDiv of all plotly.js related information including data and layout. This hook gives application writers a chance to pull data and layout off the DOM. |
197
198
|`onUpdate`|`Function`|`undefined`| Callback executed when a plotly.js API method resolves |
198
199
|`onError`|`Function`|`undefined`| Callback executed when a plotly.js API method rejects |
0 commit comments