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

Function togglePlayPause

esm/GSDevTools.js:912–918  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

910 paused = true;
911 },
912 togglePlayPause = function togglePlayPause() {
913 if (paused) {
914 play();
915 } else {
916 pause();
917 }
918 },
919 //REWIND button
920 onPressRewind = function onPressRewind(e) {
921 if (progressDrag.isPressed) {

Callers 2

updateProgressFunction · 0.70
GSDevToolsFunction · 0.70

Calls 2

playFunction · 0.70
pauseFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…