The "this" was dropped in 3.0
.call( callback:Function, params:Array, position:* ) : self
vs
.call( callback:Function, params:Array, scope:*, position:* ) : *
scope: *
(default = null) — The scope in which the callback should be called (basically, what “this” refers to in the function). NOTE: this parameter only exists in the JavaScript and AS2 versions.
How do I port this code to GSAP3?
Here are the contents of a class method
timelineMax
.add([tmTitleSet, tmMetricSet, tmFooterSet])
.add([tmTitle])
.add([tmMetric, tmFooter])
.play()
.call(this.animationDone, null, this, "+=1");