---
name: "up.Preview.prototype.origin"
area: "API"
kind: "Property"
parent: "up.Preview class"
url: "https://unpoly.com/api/up.Preview.prototype.origin"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.Preview class](https://unpoly.com/api/up.Preview.md)</nav>

# up.Preview.prototype.origin

The [origin](https://unpoly.com/api/origin.md) element that triggered this render pass.

For example, when the user clicked a link with a preview effect, `preview.origin` will be the clicked `a[href]` element.

---

## Return value {#return-value}

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

