MCPcopy
hub / github.com/greensock/GSAP / endTime

Method endTime

src/gsap-core.js:1298–1300  ·  view source on GitHub ↗
(includeRepeats)

Source from the content-addressed store, hash-verified

1296 }
1297
1298 endTime(includeRepeats) {
1299 return this._start + (_isNotFalse(includeRepeats) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);
1300 }
1301
1302 rawTime(wrapRepeats) {
1303 let parent = this.parent || this._dp; // _dp = detached parent

Callers 6

isActiveMethod · 0.95
_parsePositionFunction · 0.80
gsap-core.jsFile · 0.80
_getClippedDurationFunction · 0.80
_parsePositionFunction · 0.80
_getClippedDurationFunction · 0.80

Calls 3

totalDurationMethod · 0.95
durationMethod · 0.95
_isNotFalseFunction · 0.70

Tested by

no test coverage detected