---
name: "[up-dash]"
area: "API"
kind: "HTML attribute"
parent: "up.link module"
visibility: "deprecated"
url: "https://unpoly.com/api/up-dash"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.link module](https://unpoly.com/api/up.link.md)</nav>

# [up-dash]

**This feature has been deprecated**. To accelerate all links use [`up.link.config.instantSelectors`](https://unpoly.com/api/up.link.config.md#config.instantSelectors) and [`up.link.config.preloadSelectors`](https://unpoly.com/api/up.link.config.md#config.preloadSelectors).

Load [`unpoly-migrate.js`](https://unpoly.com/changes/upgrading.md) to polyfill deprecated features.

[Follows](https://unpoly.com/api/up.follow.md) this link as fast as possible.

This is done by:

- [Following the link](https://unpoly.com/api/up-follow.md) without a full page load
- [Preloading the link's destination URL](https://unpoly.com/learn/preloading.md)
- [Triggering the link on `mousedown`](https://unpoly.com/api/up-instant.md) instead of on `click`

## Example {#example}

Use `[up-dash]` like this:

```
<a href="/users" up-dash=".main">User list</a>
```

This is shorthand for:

```
<a href="/users" up-target=".main" up-instant up-preload>User list</a>
```

---

## Modifying attributes {#attributes}

### [up-dash='body'] {#up-dash}

(optional)

The CSS selector to replace

Inside the CSS selector you may refer to this link as [`:origin`](https://unpoly.com/api/origin.md).

