Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing click handlers #10

Open
adwhit opened this issue Jun 24, 2021 · 1 comment
Open

Missing click handlers #10

adwhit opened this issue Jun 24, 2021 · 1 comment

Comments

@adwhit
Copy link

adwhit commented Jun 24, 2021

Hi, thanks for the interesting library.

Not sure if I'm misunderstanding this library, but I tried it out with the MatButton component, but couldn't figure out how to add a click handler to the button. It looks like generic event handling isn't implemented?

@ranile
Copy link
Owner

ranile commented Jun 24, 2021

This is an issue with Yew which prevents us from having generic event handling. See yewstack/yew#1533. Also see #9.

I'd wrap the components in a span to get around this limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants