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
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,10 @@ much faster (around 1000x in our machines) on bigger DOM trees that the tree tra
26
26
Watch `node`, optionally passing `onload` and `onunload` handler.
27
27
Returns the node itself.
28
28
29
+
`onload.delete(node, [onload], [onunload])`
30
+
31
+
Pass in references to the `onload` and `onunload` functions and the node they are attached to to remove them from the function set that get run on load and unload. Pass `undefined` for `onload` if you only attached and `onunload` function.
0 commit comments