diff --git a/packages/docs/src/en/plugins/sort.md b/packages/docs/src/en/plugins/sort.md index 4f887c652..b45f84a25 100644 --- a/packages/docs/src/en/plugins/sort.md +++ b/packages/docs/src/en/plugins/sort.md @@ -78,26 +78,36 @@ The primary API for using this plugin is the `x-sort` directive. By adding `x-so You can react to sorting changes by passing a handler function to `x-sort` and adding keys to each item using `x-sort:key`. Here is an example of a simple handler function that shows an alert dialog with the changed item's key and its new position: ```alpine -
-