0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-08 12:35:06 +00:00
VueTube/NUXT/components/searchOverlay.vue
2022-02-25 13:54:15 -05:00

31 lines
423 B
Vue

<template>
<div>
<v-text-field
label="Search"
outlined
v-model="text"
@input="textChanged"
/>
{{ response }}
</div>
</template>
<script>
export default {
data() {
return {
text: null,
response: null,
}
},
methods: {
textChanged() {
this.$youtube.autoComplete(this.text, (data) => {
this.response = data;
});
}
}
}
</script>