N
N
nastya_zholudeva2018-07-17 17:35:53
Vue.js
nastya_zholudeva, 2018-07-17 17:35:53

How to show several components on a click on the same button?

How to make a red div open on button click, then green div on button click, then yellow div ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Proskurin, 2018-07-17
@nastya_zholudeva

https://jsfiddle.net/d48brfLs/
If it is necessary that it is the block that changes, and not the class, then here is https://jsfiddle.net/d48brfLs/3/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question