You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
But there is no reference link for what the data- prefix is. We are assuming our audience has a full understanding of all elements (even newer ones) of HTML, and instead we should be good citizens and hyperlink to standards as necessary when we mention them in our docs.
The text was updated successfully, but these errors were encountered:
thadguidry
changed the title
Add hyperlink to official HTML specifications for data-* prefix
Docs: Add hyperlink to official HTML specifications for data-* prefix
Dec 6, 2023
In section https://htmx.org/docs/#introduction , we currently mention that
But there is no reference link for what the
data-
prefix is. We are assuming our audience has a full understanding of all elements (even newer ones) of HTML, and instead we should be good citizens and hyperlink to standards as necessary when we mention them in our docs.The link we should refer to the
data-*
attribute is https://html.spec.whatwg.org/multipage/dom.html#attr-data-*The text was updated successfully, but these errors were encountered: