TweenMax sets infinite loop

In

react, the dom element whole infinite loop is set with TweenMax. The following sentence always doesn"t work, but the document is written like this

.

document address: https://www.tweenmax.com.cn/a.

new TweenMax(whole,{repeat:22});

clipboard.png

Mar.02,2022

TweenMax( target:Object, duration:Number, vars:Object ) ;

are you missing a duration:Number parameter? This number must be passed on.

Menu