Forms that are currently loading through Unpoly
are assigned the
up-active class automatically.
.up-active in your CSS to improve the perceived responsiveness
of your user interface.
up-active class will be removed as soon as the response to the
form submission has been received.
We have a form:
<form up-target=".foo"> <button type="submit">Submit</button> </form>
The user clicks on the submit button. While the form is being submitted
and waiting for the server to respond, the form has the
<form up-target=".foo" class="up-active"> <button type="submit">Submit</button> </form>
Once the link destination has loaded and rendered, the