2 ms·
the spec is literally just data-* (hence the name): you can add whatever you want to it and remain in spec. And they're meant to be read by javascript (like dat
by nchmy 1y ago
the spec is literally just data-* (hence the name): you can add whatever you want to it and remain in spec. And they're meant to be read by javascript (like datastar)
https://developer.mozilla.org/en-US/docs/Web/HTML/How_to/Use_data_attributes https://developer.mozilla.org/en-US/docs/Web/HTML/How_to/Use...
At least you're living up to your profile! "Opinions on things I know nothing about"
- troupo 1y ago> At least you're living up to your profile! "Opinions on things I know nothing about" I've had this pinned on my twitter profile for a few years now, for people like you: https://x.com/dmitriid/status/1860589623321280995 https://x.com/dmitriid/status/1860589623321280995 I never argued that those attributes weren't compatible with HTML.
- agos 1y agoHey, that was a low blow, you can do better than insult another user! On the topic: it might be in spec but it’s still a DSL inside an attribute
- nchmy 1y agoDo you really not see how I was responding in-kind to them?