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 94faf87

Browse files
README contains info on onPurge prop
1 parent dd165a3 commit 94faf87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ You can see an example of this method in action [here](https://codepen.io/rsreus
194194
| `revision` | `Number` | `undefined` | When provided, causes the plot to update *only* when the revision is incremented. |
195195
| `debug` | `Boolean` | `false` | Assign the graph div to `window.gd` for debugging |
196196
| `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. |
197198
| `onUpdate` | `Function` | `undefined` | Callback executed when a plotly.js API method resolves |
198199
| `onError` | `Function` | `undefined` | Callback executed when a plotly.js API method rejects |
199200

0 commit comments

Comments
(0)

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