matyunya / smelte

UI framework with material components built with Svelte and Tailwind CSS
https://smeltejs.com/
MIT License
1.53k stars 114 forks source link

Forward all events with use:forwardEvents from SMUI #273

Open r2dev2 opened 2 years ago

r2dev2 commented 2 years ago

In #229 it was mentioned that all events couldn't be forwarded with on:* because the svelte team will take a long time to merge the prs implementing the functionality. In one of the prs, it was mentioned that in SMUI, the problem was solved with a use action. It seems to still work with events from DOM elements.

Would you accept a PR which adds that action to components like Button?

anish-lakkapragada commented 2 years ago

i second this pr

anish-lakkapragada commented 2 years ago

pr based