-
Notifications
You must be signed in to change notification settings - Fork 258
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
Create patterns examples #338
Comments
Also things like Modal, Accordion, Tab, and Toasts could be useful (until we have the Angular Component equivalents created - Dialog, Tab, Snackbar, etc) |
This comment was marked as resolved.
This comment was marked as resolved.
@iiakshat The issue is in the buttons for feedback Use this in on_click - on_click=lambda _: on_feedback(True) |
Looks like you resolved your error. When I ran the colab, it seemed ran for me. One thing to note is that Mesop event handler functions have a non-intuitive behavior if you try to reuse the same function. You should read: https://google.github.io/mesop/guides/interactivity/#avoid-using-closure-variables-in-event-handler |
Can anyone contribute to this and add those components?? If so I would also like to have a go at it... |
@srivats22, yes, you're right free to contribute any patterns you'd feel would be helpful. |
Nice, let me clone the repo and see what I can work on... and will try and get it done |
This is a good issue for anyone who wants to contribute to Mesop as there's many different patterns we could add to the demo gallery!
I'm basically calling "pattern" a multi-component examples which demonstrates a common use case.
Ideas:
The text was updated successfully, but these errors were encountered: