Answers for "v-if animation"

0

vue transition v-if else

<div id="demo">
    <button v-on:click="show = !show">
        Toggle
    </button>
    <transition name="fade">
        <p key=1 v-if="show">hello</p>
        <p key=2 v-else>Goodbye</p>
    </transition>
</div>
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language