delete from aside component - notification component

This commit is contained in:
Kostya
2023-11-21 19:33:07 +03:00
parent e20301386a
commit 68e181d950

View File

@@ -17,31 +17,30 @@
</div>
</div>
</aside>
<notiicationwindow-component :isAnimationOn = "AnimationOff" @animationchange="NotificationRemove"></notiicationwindow-component>
</template>
<script>
import NotiicationwindowComponent from "@/components/NotiicationwindowComponent.vue";
// import NotiicationwindowComponent from "@/components/NotiicationwindowComponent.vue";
import '@/assets/css/ComponentsStyles/asidebar.css'
export default {
name: 'AsideBar-Element',
components: { NotiicationwindowComponent },
// components: { NotiicationwindowComponent },
data() {
return {
AnimationOff: false
}
},
emits: ['animationchange'],
// emits: ['animationchange'],
methods: {
ChangeAnimation() {
this.AnimationOff = !this.AnimationOff
return this.$emit('animationchange', this.AnimationOff)
},
NotificationRemove(value) {
this.AnimationOff = value
}
// NotificationRemove(value) {
// this.AnimationOff = value
// }
}
}
</script>