Skip to content

Expose Shadow DOM internals via ::part #8

Open
@lpradopostigo

Description

@lpradopostigo

Since there is not part exposed, there is no way to inject styles into the shadow dom without resorting to javascript or use some kind of wrapper.
My use case was to set display:block on the svg element that was also wrapped with an anchor element, since it was messing the vertical alignment in a flex box container. Maybe I can just add another display:flex on the anchor wrapper and call it a day, but I think is pretty expected to expose a part api on a web component.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions