M
M
MeMoJlor2021-12-14 08:08:57
Vue.js
MeMoJlor, 2021-12-14 08:08:57

How to handle multiple buttons in Vue?

There are product cards that will be generated through v-for.
The card will have a button that, when pressed, will reveal additional information inside the card. How can I implement this so that the button triggers an action inside the map where the button itself is located?
61b826d5bca6c194355651.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-12-14
@MeMoJlor

Reusing Components
https://ru.vuejs.org/v2/guide/components.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question