Skip to content

Commit 98a9d37

Browse files
committed
DOCS
1 parent ff7085f commit 98a9d37

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ much faster (around 1000x in our machines) on bigger DOM trees that the tree tra
2626
Watch `node`, optionally passing `onload` and `onunload` handler.
2727
Returns the node itself.
2828

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.
32+
2933
## Install
3034

3135
```sh

0 commit comments

Comments
 (0)