Re:Customizable HTML Select
by JodieBenitez on Friday February 21, 2025 @02:26AM
(#43124986)
I find web components very useful. Yes, I avoid shadow DOM as it only makes things more complicated for me, but having bits of functionality grouped in a new tag is great.
[ Parent
| on HN ]
Yeah, the "HTML Web Components" can be useful: https://adactio.com/journal/20618 and https://blog.jim-nielsen.com/2023/html-web-components/
Re:Customizable HTML Select
by JodieBenitez on Saturday February 22, 2025 @02:21AM
(#43136894)
> You just take some normal HTML markup, wrap it with a custom element, and then write some JS to add capabilities which you can then style with regular CSS! Everything’s of the Light Side of the Web. No need to pierce the Vale of Shadows or whatever.
Ah ! Yes, that's basically me.