Newer
Older
type="text"
placeholder="Rechercher un projet ..."
import { mapMutations } from 'vuex';
props: {
searchFunction: {
type: Function,
},
watch: {
text: _.debounce(function(newValue) {
this.$emit('loading', true);
this.SET_CURRENT_PAGE(1);
if (err.message) {
this.$emit('loading', false);
}
...mapMutations('projects', [
'SET_CURRENT_PAGE'
])
display: flex;
flex-direction: column;
justify-content: flex-end;
text-align: left;
color: #35495e;
font-family: 'Roboto Condensed', Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif !important;
}
input:focus {
outline: none !important;
box-shadow: 0 0 1px grey;