Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<p> Wrapper for a text input </p>
placeholder="Custom input!"
@change='$emit("change", $'
export default {
emits: ["change"]
<!-- then in the parent component, we can just listen to @change -->
<my-input @change="logChange"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment