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

# up.event.halt(event)

Prevents the event from being processed further.

In detail:

- It prevents the event from bubbling up the DOM tree.
- It prevents other event handlers bound on the same element.
- It prevents the event's default action.

## Example {#example}

```js
up.on('click', 'a.disabled', function(event) {
  up.event.halt(event)
})
```

---

## Parameters {#parameters}

### event {#event}

(required)

The event to stop processing for.

Type: [Event](https://developer.mozilla.org/en-US/docs/Web/API/Event)

