Skip to content

Demo: shadow parts & slots inspector #42

Open
@web-padawan

Description

@web-padawan

The idea is to implement a special mode (e.g. using a tab in the "Demo" part).

  • DOM flat tree representation: component, its part elements and slot elements
expansion-panel
  ::part(header)
    ::part(toggle)
    ::slotted([slot="name"])
  ::part(content)
    ::slotted(:not([slot]))
  • When hovering a row in the list, it should be highlighted in the demo snippet:

demo

  • Additionally, borders can be toggled for all the CSS parts in the component

  • Clicking every selector allows to edit corresponding CSS rules in a text area.

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