Skip to content

Commit

Permalink
chore: remove repetitive words (#4132)
Browse files Browse the repository at this point in the history
Signed-off-by: hanghuge <cmoman@outlook.com>
  • Loading branch information
hanghuge authored Apr 6, 2024
1 parent 85ff820 commit 01d212c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/docs/src/en/plugins/anchor.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The primary API for using this plugin is the `x-anchor` directive.

To use this plugin, add the `x-anchor` directive to any element and pass it a reference to the element you want to anchor it's position to (often a button on the page).

By default, `x-anchor` will set the the element's CSS to `position: absolute` and the appropriate `top` and `left` values. If the anchored element is normally displayed below the reference element but doesn't have room on the page, it's styling will be adjusted to render above the element.
By default, `x-anchor` will set the element's CSS to `position: absolute` and the appropriate `top` and `left` values. If the anchored element is normally displayed below the reference element but doesn't have room on the page, it's styling will be adjusted to render above the element.

For example, here's a simple dropdown anchored to the button that toggles it:

Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/en/plugins/mask.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Try it for yourself by typing a number that starts with "34" and one that doesn'
</div>
<!-- END_VERBATIM -->

`x-mask:dynamic` also accepts a function as a result of the expression and will automatically pass it the `$input` as the the first parameter. For example:
`x-mask:dynamic` also accepts a function as a result of the expression and will automatically pass it the `$input` as the first parameter. For example:

```alpine
<input x-mask:dynamic="creditCardMask">
Expand Down

0 comments on commit 01d212c

Please sign in to comment.