@rooks/use-mutation-observer
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -37,3 +37,3 @@ { | ||
}, | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"_id": "@rooks/use-mutation-observer@", | ||
@@ -44,3 +44,3 @@ "readme": "ERROR: No README data found!", | ||
}, | ||
"gitHead": "00a8074232ffc25bb7da8c6592b5d2d2edad3013" | ||
"gitHead": "edc0238c77fe5d4a04a658c775aaf3c8893b80f1" | ||
} |
@@ -68,2 +68,10 @@ # @rooks/use-mutation-observer | ||
### Arguments | ||
| Argument | Type | Description | Default value | | ||
| -------- | --------- | ------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | | ||
| ref | React ref | Ref which should be observed for Mutations | undefined | | ||
| callback | function | Function which should be invoked on mutation. It is called with the `mutationList` and `observer` | undefined | | ||
| config | object | Mutation Observer configuration | {attributes: true,,characterData: true,,subtree: true,,childList: true} | | ||
Mutation Observer hook for React |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5739
77