Modal #150
celeg
started this conversation in
Show and tell
Modal
#150
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello, I apologize in advance because I am quite new in the world of reactive code. I discover a little what allows to make petite-vue and a big thank you to its creator and the community to make this project live. Now I share with you my link. In a very very basic way I would like to make a modal.
This one can create several modal with content coming from template with html and or reactive data. The buttons can be called outside the modal component via callback
In fact the code seems to work but I wonder about the good use of what I did. I am not sure to have used reactive(). I'm not sure if I've used reactive() properly and I think from what I've seen that there are better ways to create this.
https://codesandbox.io/s/kjfztv-kjfztv?file=/src/index.js
Beta Was this translation helpful? Give feedback.
All reactions