Skip to content

Commit

Permalink
fix: highlighting in docs (#3599)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrystianDeMatos authored Jul 24, 2023
1 parent 3cb07a9 commit 554a11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/en/directives/on.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ If you are listening for touch events, it's important to add `.passive` to your

Add this modifier if you want to execute this listener in the event's capturing phase, e.g. before the event bubbles from the target element up the DOM.

```
```alpine
<div @click.capture="console.log('I will log first')">
<button @click="console.log('I will log second')"></button>
</div>
Expand Down

0 comments on commit 554a11d

Please sign in to comment.