Filter tile functionality

This commit is contained in:
Alicia Sykes
2019-08-17 21:05:51 +01:00
parent 2456352d2a
commit 4e9f436972
2 changed files with 47 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
<template>
<div>
<el-input
placeholder="Start typing station name or code"
v-model="input"
v-on:input="userIsTypingSomething">
</el-input>
</div>
</template>
<script>
export default {
name: 'FilterTile',
data () {
return {
input: ''
}
},
methods: {
userIsTypingSomething (stuff) {
this.$emit('user-is-searchin', stuff)
}
}
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
</style>