我和fullpage.js一起在我的项目中使用了fullpage.js,我不希望我的当前幻灯片在我的timelineMax动画完成之前滑动。为此,我在我的timelineMax中使用了timelineMax事件,并为它分配了一个函数nextAnimation。timelineMax在nextAnimation函数中,我有以下代码。animation i
我正在编写的应用程序在nuxt.js与ssr渲染。我对gsap有意见。我使用的是类型记录,当我尝试使用timeline.staggerTo()方法时,我得到的错误是属性staggerTo()在TimelineMax类型上不存在。如何使用gsap:我安装了纱线添加gsap,然后从"gsap“导入了TimelineMax例如,to()可以工作,但是staggerTo / from no。也许这还没有定义。非常感谢你的帮助import Vue from "vue";
import {
/~/scrollmagic/scrollmagic/uncompressed/plugins/animation.gsap.js
Module not found: Error: Cannot resolvemodule 'TimelineMax' in /Users/dillonraphael/Desktop/marbleshark_landingpage/node_modules/scrollmagic/