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

# up.radio.config

Configures defaults for passive updates.

---

## Value {#value}

### Hungry elements {#value-hungry-elements}

#### [config.hungrySelectors] {#config.hungrySelectors}

(optional)

An array of CSS selectors that are replaced whenever matching elements are found in a response. These elements are replaced even when they are not targeted directly.

By default this contains the [`[up-hungry]`](https://unpoly.com/api/up-hungry.md) attribute.

The configured selectors will be used to find hungry elements in the current page. For each matching element a target will be [derived](https://unpoly.com/learn/target-derivation.md) from that specific element. E.g. when you configure `up.radio.config.hungrySelectors.push('input')`, a given input will be targeted with its derived selector (like `input[name=email]`).

For this to work hungry elements [must have a derivable target selector](https://unpoly.com/api/up-hungry.md#derivable-target-required).

Type: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)<string>

#### [config.noHungrySelectors=['[up-hungry=false]']] {#config.noHungrySelectors}

(optional)

Exceptions to `up.radio.config.hungrySelectors`.

Type: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)<string>

### Polling {#value-polling}

#### [config.pollInterval=30000] {#config.pollInterval}

(optional)

The default [polling](https://unpoly.com/api/up-poll.md) interval in milliseconds.

Type: number

