Links that are currently loading are assigned the
class automatically. Style
.up-active in your CSS to improve the
perceived responsiveness of your user interface.
up-active class will be removed as soon as another
page fragment is added or updated through Unpoly.
We have a link:
<a href="/foo" up-follow>Foo</a>
The user clicks on the link. While the request is loading,
the link has the
<a href="/foo" up-follow class="up-active">Foo</a>
Once the link destination has loaded and rendered, the
is removed and the
up-current class is added:
<a href="/foo" up-follow class="up-current">Foo</a>