matyunya / smelte

UI framework with material components built with Svelte and Tailwind CSS

Home Page:https://smeltejs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forward all events with use:forwardEvents from SMUI

r2dev2 opened this issue · comments

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?

i second this pr