Open Zearin opened 1 year ago
I think the answer to my question is: Yes.
I found an excellent resource here: https://thomaswilburn.github.io/wc-book/sd-behavioral.html
That said: this pattern was important enough for its own book chapter in the above link, as well as in frameworks like Vue. The WebC docs should probably cover this topic, even if just lightly.
It’s been a while since I used Vue, but from what I remember there were some components that could define only behavior—no markup—which could then be used to wrap other components. For example:
If this is possible, can you add some docs about it?