# useLazy API

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

## Related

- https://0.vuetifyjs.com/composables/system/use-lazy
- https://0.vuetifyjs.com/composables/system/use-presence
- https://0.vuetifyjs.com/composables/system/use-toggle-scope
- https://0.vuetifyjs.com/composables/system/use-intersection-observer

## Functions

### useLazy

Deferred content rendering for performance optimization.

```ts
(active: MaybeRefOrGetter<boolean>, options?: LazyOptions) => LazyContext
```

## Options

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `eager` | `MaybeRefOrGetter<boolean> \| undefined` | `false` | no | When true, content renders immediately without waiting for activation. |
| `delay` | `number \| undefined` | `0` | no | Delay in milliseconds before activation. Prevents flash on quick hover-throughs by requiring the active state to persist for this duration before booting content. |

## Methods

| Name | Type | Description |
|---|---|---|
| `reset` | `() => void` | Reset booted state. Call on leave transition if not eager. |
| `onAfterLeave` | `() => void` | Transition callback for after-leave. Resets if not eager. |

## Properties

| Name | Type | Description |
|---|---|---|
| `isBooted` | `Readonly<ShallowRef<boolean>>` | Whether the lazy content has been activated at least once. |
| `hasContent` | `Readonly<Ref<boolean, boolean>>` | Whether content should be rendered. True when: isBooted OR eager OR active |
