webcomponents-cg / docs-and-guides

Web Component Community Group - We care about web components.
https://webcomponents-cg.netlify.app/
Creative Commons Zero v1.0 Universal
26 stars 3 forks source link

Include content around "slotchange" events #3

Open Westbrook opened 3 years ago

Westbrook commented 3 years ago

Particularly, touch on "gotchas" like:

Outline alternative approaches like Mutation Observers, etc.

renoirb commented 2 years ago

I'd add also examples or use-cases that can make use of "slotchange" (triggering). I've had issues explaining and good documentation would help sharing the knowledge. A use-case can be for transitions of a "value" component. When it's inserted, when the data's there, etc.