3 ms·
While reading the Jelly-UI source I learned that you can use slot tags to effectively punch holes in the shadowdom on a web component. The elements passed in as
by ChiperSoft 2mo ago
While reading the Jelly-UI source I learned that you can use slot tags to effectively punch holes in the shadowdom on a web component. The elements passed in as component children can be assigned to a slot[1] within the component's shadowdom, and the external styles on them continue untouched.
1. https://github.com/jelly-org/ui/blob/main/src/components/resizable/index.ts#L112 https://github.com/jelly-org/ui/blob/main/src/components/res...