Skip to content

Commit f8eac72

Browse files
authored
Fix typo in sort.md (#4296)
1 parent 34de8e2 commit f8eac72

File tree

1 file changed

+1
-1
lines changed
  • packages/docs/src/en/plugins

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ You can react to sorting changes by passing a handler function to `x-sort` and a
9595
</div>
9696
<!-- END_VERBATIM -->
9797

98-
The `x-sort` handler will be called every time the sort order of the items change. The `$item` magic will contain the key of the sorted element (derived from `x-sort:item`), and `$position` will contain the new position of the item (staring at index `0`).
98+
The `x-sort` handler will be called every time the sort order of the items change. The `$item` magic will contain the key of the sorted element (derived from `x-sort:item`), and `$position` will contain the new position of the item (starting at index `0`).
9999

100100
You can also pass a handler function to `x-sort` and that function will receive the `item` and `position` as the first and second parameter:
101101

0 commit comments

Comments
 (0)