wip
This commit is contained in:
parent
f661cb765a
commit
7f7fe3f94c
35 changed files with 154 additions and 120 deletions
|
|
@ -171,7 +171,7 @@ export default defineComponent({
|
|||
|
||||
mounted() {
|
||||
window.requestAnimationFrame(this.parallaxLoop);
|
||||
this.$once('hook:beforeDestroy', () => {
|
||||
this.$once('hook:beforeUnmount', () => {
|
||||
window.cancelAnimationFrame(this.parallaxAnimationId);
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue