Skip to content

Commit

Permalink
Update $ajax behavior note
Browse files Browse the repository at this point in the history
  • Loading branch information
imacrayon committed Sep 20, 2024
1 parent ee868cf commit 06419b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/ajax.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The `$ajax` magic helper is for finer-grained AJAX control. Use it to programmat

In this example we make a `POST` request with the `email` value to the `/validate-email` endpoint. See the [Inline Validation example](/examples/inline-validation) for a complete demonstration.

**Note:** Since `$ajax` is intended to be used in side effects it doesn't emit any events or target `x-sync` elements like `x-target`. However, you can change these defaults using the `$ajax` options.
**Note:** Since `$ajax` is intended to be used in side effects it doesn't target `x-sync` elements or autofocus like `x-target`. However, you can change these defaults using the `$ajax` options.

### $ajax options

Expand Down

0 comments on commit 06419b3

Please sign in to comment.