[up-dash]
HTML attribute
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:
- Following the link without a full page load
- Preloading the link's destination URL
- Triggering the link on
mousedowninstead of onclick
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.