Y
Hacker News
new
|
ask
|
show
|
jobs
by
brazukadev
57 days ago
It is such a coincidence to find your project. ShadowDOM is my biggest issue with WebComponents and I got to a solution similar to yours.
Did you implement <slot> for light DOM or just use attributes?
1 comments
EricFrost
56 days ago
Yes, Solarite will take any children of your element and reparent them into a <slot> element if your component has one. Or just append them to the end if not.
link