A
A
anton_trofimov952020-02-17 22:08:17
Vue.js
anton_trofimov95, 2020-02-17 22:08:17

How to pass button text to Vue modal window?

Hello! code

I'm trying to pass the text of the button to the modal window, I succeeded when I have an object with an array of names and I display them as a list on the page. But without a list. How to transfer the name of the button to the modal as a result, until I figure something out

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Drozdov, 2020-02-17
@anton_trofimov95

At least read the documentation)
https://ru.vuejs.org/v2/guide/components-props.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question