Edit this page

up.feedback a[up-alias]
HTML selector

Links within [up-nav] may use the [up-alias] attribute to pass a URL pattern for which they should also be highlighted as .up-current.

Example

The link below will be highlighted with .up-current at both /profile and /profile/edit locations:

<div up-nav>
  <a href="/profile" up-alias="/profile/edit">Profile</a>
</div>

To pass more than one alternative URLs, use a URL pattern.

Modifying attributes

up-alias

A URL pattern with alternative URLs.