Answer the question
In order to leave comments, you need to log in
How to change the text on the desired button using vue.js?
Hello. How to do the same text change on the pressed button like here , but now with the help of vue.js?
Answer the question
In order to leave comments, you need to log in
There must be some kind of flag along with the data. And in the template, based on this flag, display this or that text.
For example like this
Or The text for the button must lie with the data. On some event this text to change. Moved to a separate class for convenience.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question