Created
February 24, 2019 07:44
-
-
Save marcus-herrmann/dda7c766e533be7682103905501b7e12 to your computer and use it in GitHub Desktop.
Vue: Re-run transition on data change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<transition name="bounce"> | |
<div class="shopping-cart__item-count" :key="numberOfCartItems" v-show="numberOfCartItems"> | |
{{ numberOfCartItems }} | |
</div> | |
</transition> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment