Hacker News new | ask | show | jobs
by mejutoco 1160 days ago
Data attributes are accepted. From the docs:

> It’s worth mentioning that, if you prefer, you can use the data- prefix when using htmx:

> <a data-hx-post="/click">Click Me!</a>