Edit this page

up.motion a[up-transition]
HTML selector

Follows this link and swaps in the new fragment with an animated transition.

Note that transitions are not possible when replacing the body element.

Example

<a href="/page2"
  up-target=".story"
  up-transition="move-left">
  Next page
</a>

Modifying attributes

All attributes for a[up-follow] may also be used.

[up-transition] optional

The name of a predefined transition.

[up-fail-transition] optional

The transition to use when the server responds with an error code.

See Handling server errors.

This website uses cookies to improve usability and analyze traffic.
I accept or learn more