Edit this page

up.motion a[up-transition]
HTML selector

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

Note

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

Info

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

[up-transition] optional
[up-fail-transition] optional

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

See Handling failed responses.