From 1539ee933b9f776b17a5a74a7c65eff9f23eadb2 Mon Sep 17 00:00:00 2001 From: Armando Date: Tue, 13 Aug 2024 07:20:02 -0600 Subject: [PATCH] Fix typos. (#4332) --- packages/docs/src/en/plugins/resize.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/en/plugins/resize.md b/packages/docs/src/en/plugins/resize.md index cf9b27e6c..cecdedf62 100644 --- a/packages/docs/src/en/plugins/resize.md +++ b/packages/docs/src/en/plugins/resize.md @@ -52,7 +52,7 @@ Alpine.plugin(resize) 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`. -For example, here's a simple example of using `x-resize` do display the width and height of an element as it changes size. +For example, here's a simple example of using `x-resize` to display the width and height of an element as it changes size. ```alpine
### .document -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`: +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`: ```alpine