Complete the code to set the transition mode to 'in-out' in a Vue <transition> component.
<transition mode="[1]"> <div v-if="show">Content</div> </transition>
The mode attribute controls the sequence of entering and leaving transitions. 'in-out' means the new element enters first, then the old leaves.
Complete the code to set the transition mode to 'out-in' in a Vue <transition> component.
<transition mode="[1]"> <div v-if="visible">Panel</div> </transition>
The 'out-in' mode makes the old element leave first, then the new element enters.
Fix the error in the transition mode attribute to correctly use 'out-in'.
<transition mode=[1]> <div v-if="active">Box</div> </transition>
The mode attribute value must be a string wrapped in double quotes inside the template.
Fill both blanks to create a Vue <transition> with mode 'in-out' and a fade transition name.
<transition mode="[1]" name="[2]"> <p v-if="showText">Hello</p> </transition>
The mode 'in-out' controls transition order, and 'fade' is the transition name for CSS classes.
Fill all three blanks to create a Vue <transition> with mode 'out-in', name 'slide', and a div with key 'box'.
<transition mode="[1]" name="[2]"> <div v-if="visible" key=[3]>Slide Content</div> </transition>
The mode is 'out-in' for transition order, name is 'slide' for CSS, and the key must be a quoted string 'box' for Vue to track element identity.