#Lustre html data attributes
1 messages ยท Page 1 of 1 (latest)
it is yeah
I'm good at Lustre
a PR adding attribute.data(key: String, value: String) would be nice
Oh thank you both ๐ I'll look into submitting one ๐
1 messages ยท Page 1 of 1 (latest)
Not sure if I missed it in the documentation but I haven't seem a way to set data attributes on html elements. I'd like to use them to conditionally style html elements with Tailwind. Let me know if there's a preferred different way. I'd also be willing to submit a PR that adds support for html data attributes.
it is yeah
I'm good at Lustre
a PR adding attribute.data(key: String, value: String) would be nice
Oh thank you both ๐ I'll look into submitting one ๐