Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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>



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: