G
G
gangrena7772019-04-26 21:20:06
Vue.js
gangrena777, 2019-04-26 21:20:06

Implement similar functionality in vuejs?

Greetings to all kung fu masters!!!
Tell me how to implement a similar action on VUE ... otherwise it’s some kind of dumb thing ... the brain boils ...
there is a cycle like

<ul   v-for ="item  in items">
  <li  >
     <div  style="display:none></div>
</li>
</ul>
как  реализовать на vue  что то типа    
<li onclick="show(this)">
соответственно по клику на конкретный li ....его дочерний div   => display='block'

thank you in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question