Edit this page

up.link a[up-dash]
HTML selector

This feature has been deprecated. To accelerate all links use up.link.config.instantSelectors and up.link.config.preloadSelectors.

Load unpoly-migrate.js to polyfill deprecated features.

Follows this link as fast as possible.

This is done by:

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

[up-dash='body'] optional

The CSS selector to replace

Inside the CSS selector you may refer to this link as :origin.