---
name: "up.link.isFollowable"
area: "API"
kind: "JavaScript function"
parent: "up.link module"
url: "https://unpoly.com/api/up.link.isFollowable"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.link module](https://unpoly.com/api/up.link.md)</nav>

# up.link.isFollowable(link)

Returns whether the given link will be [followed](https://unpoly.com/api/up.follow.md) by Unpoly instead of making a full page load.

By default Unpoly will follow links if the element has one of the following attributes:

- [`[up-follow]`](https://unpoly.com/api/up-follow.md)
- `[up-target]`
- `[up-layer]`
- [`[up-transition]`](https://unpoly.com/api/up-transition.md)
- [`[up-preload]`](https://unpoly.com/api/up-preload.md)
- `[up-content]`
- `[up-fragment]`
- `[up-document]`

To make additional elements followable, see [`up.link.config.followSelectors`](https://unpoly.com/api/up.link.config.md#config.followSelectors).

---

## Parameters {#parameters}

### link {#link}

(required)

The link to test.

Type: [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element) | [jQuery](https://learn.jquery.com/using-jquery-core/jquery-object/) | string

---

## Return value {#return-value}

Whether Unpoly will handle the given link.

Type: boolean

