Q:

Access to removed element in Vue.js

I have:
<div v-if="page=='main'"  key="1">
   x
</div>

<div v-if="page=='about'"  key="2">
   y
</div>

<div v-if="page=='contact'"  key="3">
   z
</div>

however, when the third div (contact) is visible, I cant access the first or second div, as those dom are removed at all.
How to access other div, when i.e. 3rd one is visible?

A:

why not use v-show? 
v-if control whether the element is rendered.
v-show control whether the element has a display:none css property

