WIP Анимация пагинации и загрузки клиентов

This commit is contained in:
Daria Golova
2022-12-13 18:28:43 +03:00
parent c0bb78beb9
commit 36f02aa573
7 changed files with 82 additions and 47 deletions

View File

@@ -1,6 +1,6 @@
<template lang="pug">
.header-inputs-wrapper.flex.items-center.font-medium.text-base(:class="{ open: isOpen }")
.select-container(@click="changeState")
.select-container(@click="changeState", v-click-outside="closeOptions")
.select-wrapper.flex.items-center.cursor-pointer.mx-4.my-2
.icon-wrapper.icon-search.flex.text-lg.justify-center.items-center
span.custom-input.select-input.inline-block.box-border.align-middle.pl-2.pr-1 {{ selectedFilter }}
@@ -30,6 +30,9 @@ export default {
selectFilter(filter) {
this.selectedFilter = filter;
},
closeOptions() {
this.isOpen = false;
},
},
};
</script>