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

Method rawTime

src/gsap-core.js:1302–1305  ·  view source on GitHub ↗
(wrapRepeats)

Source from the content-addressed store, hash-verified

1300 }
1301
1302 rawTime(wrapRepeats) {
1303 let parent = this.parent || this._dp; // _dp = detached parent
1304 return !parent ? this._tTime : (wrapRepeats && (!this._ts || (this._repeat && this._time && this.totalProgress() < 1))) ? this._tTime % (this._dur + this._rDelay) : !this._ts ? this._tTime : _parentToChildTotalTime(parent.rawTime(wrapRepeats), this);
1305 }
1306
1307 revert(config = _revertConfig) {
1308 let prevIsReverting = _reverting;

Callers 12

totalProgressMethod · 0.95
progressMethod · 0.95
pausedMethod · 0.95
_postAddChecksFunction · 0.80
gsap-core.jsFile · 0.80
_globalizeTimeFunction · 0.80
_postAddChecksFunction · 0.80
globalTimeMethod · 0.80
isActiveMethod · 0.80
_globalizeTimeFunction · 0.80

Calls 2

totalProgressMethod · 0.95
_parentToChildTotalTimeFunction · 0.70

Tested by

no test coverage detected