# useMutationObserver API

> Auto-generated API reference for `useMutationObserver` from @vuetify/v0 (Vuetify0).
> Source of truth: https://0.vuetifyjs.com/api/use-mutation-observer

## Related

- https://0.vuetifyjs.com/composables/system/use-mutation-observer
- https://0.vuetifyjs.com/composables/system/use-resize-observer
- https://0.vuetifyjs.com/composables/system/use-intersection-observer

## Functions

### useMutationObserver

A composable that uses the Mutation Observer API to detect changes in the DOM.

```ts
(target: MaybeElementRef, callback: (entries: MutationObserverRecord[]) => void, options?: UseMutationObserverOptions) => UseMutationObserverReturn
```

## Options

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `immediate` | `boolean \| undefined` | — | no | — |
| `once` | `boolean \| undefined` | — | no | — |
| `childList` | `boolean \| undefined` | — | no | — |
| `attributes` | `boolean \| undefined` | — | no | — |
| `characterData` | `boolean \| undefined` | — | no | — |
| `subtree` | `boolean \| undefined` | — | no | — |
| `attributeOldValue` | `boolean \| undefined` | — | no | — |
| `characterDataOldValue` | `boolean \| undefined` | — | no | — |
| `attributeFilter` | `string[] \| undefined` | — | no | — |

## Methods

| Name | Type | Description |
|---|---|---|
| `pause` | `() => void` | Pause observation (disconnects observer but keeps it alive) |
| `resume` | `() => void` | Resume observation |
| `stop` | `() => void` | Stop observation and clean up (destroys observer) |

## Properties

| Name | Type | Description |
|---|---|---|
| `isActive` | `Readonly<Ref<boolean, boolean>>` | Whether the observer is currently active (created and observing) |
| `isPaused` | `Readonly<Ref<boolean, boolean>>` | Whether the observer is currently paused |
