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

Method seek

src/gsap-core.js:1355–1357  ·  view source on GitHub ↗
(position, suppressEvents)

Source from the content-addressed store, hash-verified

1353 }
1354
1355 seek(position, suppressEvents) {
1356 return this.totalTime(_parsePosition(this, position), _isNotFalse(suppressEvents));
1357 }
1358
1359 restart(includeDelay, suppressEvents) {
1360 this.play().totalTime(includeDelay ? -this._delay : 0, _isNotFalse(suppressEvents));

Callers 15

playMethod · 0.95
reverseMethod · 0.95
pauseMethod · 0.95
_parsePositionFunction · 0.80
gsap-core.jsFile · 0.80
updateProgressFunction · 0.80
playFunction · 0.80
onPressRewindFunction · 0.80
loopFunction · 0.80
animationFunction · 0.80
updateRootDurationFunction · 0.80
onChangeTimeScaleFunction · 0.80

Calls 3

totalTimeMethod · 0.95
_parsePositionFunction · 0.70
_isNotFalseFunction · 0.70

Tested by

no test coverage detected