Skip to content

Commit a22bacd

Browse files
committed
docs(observers): add pause(), resume(), stop() to Reactivity tables
1 parent bc7c8bd commit a22bacd

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

apps/docs/src/pages/composables/system/use-intersection-observer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ flowchart TD
8585
| `isIntersecting` | <AppSuccessIcon /> | ShallowRef, readonly |
8686
| `isPaused` | <AppSuccessIcon /> | ShallowRef, readonly |
8787
| `target` | <AppSuccessIcon /> | Accepts MaybeRef, watched for changes |
88+
| `pause()` || Temporarily stop observing without disconnecting |
89+
| `resume()` || Resume after `pause()` |
90+
| `stop()` || Disconnect the observer permanently |
8891

8992
### useElementIntersection
9093

apps/docs/src/pages/composables/system/use-mutation-observer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ flowchart TD
9292
| `isActive` | <AppSuccessIcon /> | Computed from observer ref |
9393
| `isPaused` | <AppSuccessIcon /> | ShallowRef, readonly |
9494
| `target` | <AppSuccessIcon /> | Accepts MaybeRef, watched for changes |
95+
| `pause()` || Temporarily stop observing without disconnecting |
96+
| `resume()` || Resume after `pause()` |
97+
| `stop()` || Disconnect the observer permanently |
9598

9699
## Examples
97100

apps/docs/src/pages/composables/system/use-resize-observer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ flowchart TD
8080
| `isActive` | <AppSuccessIcon /> | Computed from observer ref |
8181
| `isPaused` | <AppSuccessIcon /> | ShallowRef, readonly |
8282
| `target` | <AppSuccessIcon /> | Accepts MaybeRef, watched for changes |
83+
| `pause()` || Temporarily stop observing without disconnecting |
84+
| `resume()` || Resume after `pause()` |
85+
| `stop()` || Disconnect the observer permanently |
8386

8487
### useElementSize
8588

0 commit comments

Comments
 (0)