Matsuuu / web-component-devtools

Web Component DevTools is a Browser Extension enhancing the development experience of Web Component developers
https://matsuuu.github.io/web-component-devtools/
MIT License
131 stars 3 forks source link

[Feature Request]: Add a "bridge" option to nydus routes #38

Closed Matsuuu closed 2 years ago

Matsuuu commented 2 years ago

There's a case where we bridge messaging between content and devtools panel.

This is a ample place for us to implement a bridge option into the nydus route itself, in which the onmessage action is overwritten by just bridging it

bridge: string // equals to recipient channel id