Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Without the shadow dom, your component can still have children.

If you need several slots, there's an example duplicating that functionality with javascript in the second comment of this blog post: https://frontendmasters.com/blog/light-dom-only/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: