> Possible method 1: Data attributes. Any time you as an author want to add additional data to an element, you are free to invent any custom attribute names you want, so long as they begin with "data-".
From the linked docs:
> It's worth mentioning that, if you prefer, you can use the data- prefix when using htmx:
From the linked docs:
> It's worth mentioning that, if you prefer, you can use the data- prefix when using htmx: