---
name: "up:deferred:load"
area: "API"
kind: "DOM event"
parent: "up.link module"
url: "https://unpoly.com/api/up:deferred:load"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.link module](https://unpoly.com/api/up.link.md)</nav>

# up:deferred:load

This event is emitted before an [`[up-defer]`](https://unpoly.com/api/up-defer.md) placeholder loads its deferred content.

The event can be [prevented](#event.preventDefault) to stop the network request. The loading will not be attempted again, but you can use [`up.deferred.load()`](https://unpoly.com/api/up.deferred.load.md) to load it manually afterwards.

<nav aria-label="Guides">

- [Learn: Lazy loading content](https://unpoly.com/learn/lazy-loading.md)

</nav>

---

## Event properties {#properties}

### event.target {#event.target}

(required)

The [`[up-defer]`](https://unpoly.com/api/up-defer.md) placeholder that is about to load its content.

Type: [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element)

### event.renderOptions {#event.renderOptions}

(required)

An object with [render options](https://unpoly.com/api/up.render.md#parameters) for the coming fragment update.

Listeners may inspect and modify these options.

Type: [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects)

### event.preventDefault() {#event.preventDefault}

(required)

Prevents the deferred content from being loaded.

