I am trying to convert this to vuejs. I faced some difficulties.
1st. How can I access nested sub elements?
<div ref="tickerwrapper" class="tickerwrapper">
<ul ref="list" class='list'>
<li ref="listitem" class='listitem'>
<span>This is list item 1</span>
</li>
<li ref="listitem" class='listitem'>
<span>This is list item 2</span>
</li>
<li ref="listitem" class='listitem'>
<span>This is list item 3</span>
</li>
<li ref="listitem" class='listitem'>
<span>This is list item 4</span>
</li>
<li ref="listitem" class='listitem'>
<span>This is list item 5</span>
</li>
</ul>
</div>
const tickerWrapper = this.$refs.tickerwrapper
How can I access the list and listitems using tickerWrapper?
I wanna get a list and a listitem[]
2nd.
var $clonedList = $list.clone();
How can I vue implement the corresponding clone() ? Somebody help me.