diff options
author | Carson Gross <carson@bigsky.software> | 2023-12-13 14:45:47 -0700 |
---|---|---|
committer | Carson Gross <carson@bigsky.software> | 2023-12-13 14:45:47 -0700 |
commit | b75962b9bbf00f6072349fff4d0fe91baf2deb48 (patch) | |
tree | 5e7be55c68cae5c12d10ab47f31e6ff0768e7a05 /www/content/attributes | |
parent | 3be4202e5e7b85b09f57fa7f2687efda9f0bcf5e (diff) | |
download | htmx-b75962b9bbf00f6072349fff4d0fe91baf2deb48.tar.gz htmx-b75962b9bbf00f6072349fff4d0fe91baf2deb48.zip |
update docsfeature-hx-on-dash-support
Diffstat (limited to 'www/content/attributes')
-rw-r--r-- | www/content/attributes/hx-on.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/content/attributes/hx-on.md b/www/content/attributes/hx-on.md index c42b43f3..60a13725 100644 --- a/www/content/attributes/hx-on.md +++ b/www/content/attributes/hx-on.md @@ -55,7 +55,7 @@ If you wish to handle multiple different events, you can simply add multiple att </button> ``` -Finally, in order to make this feature compatible with some templating languages that do not like having a colon (`:`) +Finally, in order to make this feature compatible with some templating languages (e.g. [JSX](https://react.dev/learn/writing-markup-with-jsx)) that do not like having a colon (`:`) in HTML attributes, you may use dashes in the place of colons for both the long form and the shorthand form: ```html |