devtools-ds icon indicating copy to clipboard operation
devtools-ds copied to clipboard

DOM Inspector Expose Selected Element

Open mike-iqmo opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

When using the DOM Inspector, I'd like to know what element is currently selected.

Describe the solution you'd like

Exposing an onDOMSelect method or something similar that would fire each time a new element is selected.

Describe alternatives you've considered

None

Additional context

My goal is to show style details(basically recreating devtools, we're running in a sandboxed environment), so if this is something you're already looking at then its something I can wait on

mike-iqmo avatar Jan 16 '23 17:01 mike-iqmo