Access host attributes in components
Let's add the attributes from the host (i.e. component) to the context, for example via an attr
or attributes
object. Use cases I see for this:
Creating a link:
<c-link href="…"></c-link>
In the component itself:
<a href="${attr.href}"></a>