Last active
November 13, 2020 06:14
-
-
Save vdsabev/3fd65aef13dad153d5c3a90562bc7397 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" aria-label="Decrement">-</button> | |
<input type="text" :value="value" @input="setValue($event.target.value)" /> | |
<button type="button" @click="increment" aria-label="Increment">+</button> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment