Skip to content

Instantly share code, notes, and snippets.

@vdsabev
Last active November 13, 2020 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vdsabev/3fd65aef13dad153d5c3a90562bc7397 to your computer and use it in GitHub Desktop.
Save vdsabev/3fd65aef13dad153d5c3a90562bc7397 to your computer and use it in GitHub Desktop.
<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