Edit this page

up.motion form[up-transition]
HTML selector

Submits this form and swaps in the new fragment with an animated transition.

Example

<form action="/tasks"
  up-target=".content"
  up-transition="cross-fade">
  ...
</form>

Modifying attributes

All attributes for form[up-submit] 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