Skip to content

Commit

Permalink
typo: dahs -> dash (bigskysoftware#2142)
Browse files Browse the repository at this point in the history
  • Loading branch information
haidousm authored and lsymds committed Jan 20, 2024
1 parent 7325401 commit 0e02108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/content/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ If we wanted to respond to the `click` event using an `hx-on` attribute, we woul
</button>
```

So, the string `hx-on`, followed by a colon (or a dahs), then by the name of the event.
So, the string `hx-on`, followed by a colon (or a dash), then by the name of the event.

For a `click` event, of course, we would recommend sticking with the standard `onclick` attribute. However, consider an
htmx-powered button that wishes to add a parameter to a request using the `htmx:config-request` event. This would not
Expand Down

0 comments on commit 0e02108

Please sign in to comment.