Skip to content

Commit b9fc4de

Browse files
Update threshold description
1 parent 4ef8760 commit b9fc4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Toggle prop saves GPU and battery by stopping the video when no longer in view!
7272
| `repeatOnInView` | boolean | Repeats callbacks for onInView/onNotInView, rather than firing just the first time. `default: false` |
7373
| `intoViewMargin` | string - css margin | Margin added to viewport for area to consider “in view”, can be negative. Use f.e. with positive value for lazy loading content just before in view, or with negative to start fading in element just after in view. Must be `px` or `%`. Default: ‘-20%’. |
7474
| `useInviewMonitor` | func | Convenient function that can be used to dynamically disable the monitor, for example for mobile devices. |
75-
| `threshold` | number | Number which indicate at what percentage of the target's visibility the observer's callback should be executed. |
75+
| `threshold` | number | Value between 0 and 1 which indicate at what percentage of the target's visibility the observer's callback should be executed. `default: 0` |
7676

7777
## Contributing
7878

0 commit comments

Comments
 (0)