Quellcode durchsuchen

Merge pull request #1445 from carltongibson/patch-1

Corrected typos/wording in Essentials > Events docs.
Caleb Porzio vor 4 Jahren
Ursprung
Commit
5dc1b42faf
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      packages/docs/src/en/essentials/events.md

+ 2 - 2
packages/docs/src/en/essentials/events.md

@@ -52,7 +52,7 @@ For example, if you want to listen for a form submission but prevent the browser
 <form @submit.prevent="...">...</form>
 ```
 
-You can also apply `.stop` to achieve the equivalant of `event.stopPropagation()`.
+You can also apply `.stop` to achieve the equivalent of `event.stopPropagation()`.
 
 <a name="accessing-the-event-object"></a>
 ## Accessing the event object
@@ -66,7 +66,7 @@ Sometimes you may want to access the native browser event object inside your own
 <a name="dispatching-custom-events"></a>
 ## Dispatching custom events
 
-In addition to listening for browser events, you can dispatch them as well. This is extremely useful for communicating with other Alpine components or event in tools outside of Alpine itself.
+In addition to listening for browser events, you can dispatch them as well. This is extremely useful for communicating with other Alpine components or triggering events in tools outside of Alpine itself.
 
 Alpine exposes a magic helper called `$dispatch` for this: