---
schema_version: "1"
id: 78bf2395bcb4ff22169b29708c46567278f6a57d33670301dcf89f104d1ed18c
title: stopPropagation()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/ref-jsapi/ref-jsapi-event-stoppropagation.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-event-stoppropagation.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7e121c2d8a2d5761f9d8bd078cc023dddef568697e6841cd85aaf9d8a0a85c4c
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# stopPropagation()

Sets whether the event can bubble or not. This method throws an error if called in the `"default"` phase.

## Signature

`stopPropagation()`

