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