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: docs/reference/core/views/index.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
@@ -37,12 +37,12 @@ Rvx provides the following views for common use cases:
37
37
assertViewState(someView);
38
38
```
39
39
40
-
The current boundary can be access via the `first` and `last` properties.
40
+
The current boundary can be accessed via the `first` and `last` properties.
41
41
```jsx
42
42
console.log(view.first, view.last);
43
43
```
44
44
45
-
A callback that is called for any boundary updates (known as the _boundary owner_) can be set until the current [lifecycle](../lifecycle.md) is disposed. Note, that there can be only one boundary owner at a time.
45
+
A function that is called for any boundary updates (known as the _boundary owner_) can be set until the current [lifecycle](../lifecycle.md) is disposed. Note, that there can be only one boundary owner at a time.
46
46
```jsx
47
47
view.setBoundaryOwner((first, last) => {
48
48
// "first" and "last" are the new current boundary.
0 commit comments