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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
Observe element size changes and callback before and after layout reflow has occured.
3
3
4
4
## API
5
-
`ReflowObserver` wraps around [`ResizeObserver`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver). It provides the same basic interface as with a few subtle differences, listed below.
5
+
`ReflowObserver` wraps around [`ResizeObserver`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver). It provides the same basic interface with a few subtle differences, listed below.
6
6
7
7
### Constructor Differences
8
8
`ResizeObserver` takes a callback as it's only argument.
@@ -23,7 +23,7 @@ const observer = new ReflowObserver(
0 commit comments