Created
February 2, 2017 09:24
-
-
Save andreipfeiffer/a288894371b5e6a3c860603550013615 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> | |
<input :value="name" @change="update"/> | |
</template> | |
<script> | |
export default { | |
methods: { | |
update(event) { | |
this.name = event.target.value; | |
} | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment