learn.svelte.dev icon indicating copy to clipboard operation
learn.svelte.dev copied to clipboard

Add explanation why I should want do forward DOM events.

Open simon-lund opened this issue 1 year ago • 0 comments

https://learn.svelte.dev/tutorial/dom-event-forwarding

In this chapter, it says that you can also forward DOM events. However, the previous chapter starts with “Unlike DOM events, component events don't bubble.”

So, I wonder why I'd want to forward DOM events explicitly.

simon-lund avatar Jun 30 '24 13:06 simon-lund