Skip to content

Commit 1539ee9

Browse files
authored
Fix typos. (#4332)
1 parent 081816f commit 1539ee9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docs/src/en/plugins/resize.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Alpine.plugin(resize)
5252

5353
The primary API for using this plugin is `x-resize`. You can add `x-resize` to any element within an Alpine component, and when that element is resized for any reason, the provided expression will execute with two magic properties: `$width` and `$height`.
5454

55-
For example, here's a simple example of using `x-resize` do display the width and height of an element as it changes size.
55+
For example, here's a simple example of using `x-resize` to display the width and height of an element as it changes size.
5656

5757
```alpine
5858
<div
@@ -81,7 +81,7 @@ For example, here's a simple example of using `x-resize` do display the width an
8181
<a name="document"></a>
8282
### .document
8383

84-
It's often useful to observer the entire document's size, rather than a specific element. To do this, you can add the `.document` modifier to `x-resize`:
84+
It's often useful to observe the entire document's size, rather than a specific element. To do this, you can add the `.document` modifier to `x-resize`:
8585

8686
```alpine
8787
<div x-resize.document="...">

0 commit comments

Comments
 (0)