Last active
November 13, 2020 06:13
-
-
Save vdsabev/95085ea56314a65b04b5332d7980ba0f to your computer and use it in GitHub Desktop.
This file contains 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
<template> | |
<div> | |
<button type="button" @click="decrement">-</button> | |
<input type="text" :value="value" @input="setValue" /> <!-- we removed the argument here --> | |
<button type="button" @click="increment">+</button> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment