front-end

Adding attributes or properties to Web Component slots

The official Web Component spec does not allow for the dynamic passing of attributes or properties to slotted content via the <slot /> tag (which is possible in Vue/React/Angular/Etc). This is an easy way to get around that limitation.

Read