MCPcopy Create free account
hub / github.com/codrops/3DGridContentPreview / loopTransformAnimation

Method loopTransformAnimation

src/js/gridItem.js:101–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 });
100 }
101 loopTransformAnimation() {
102 if ( !this.requestId ) {
103 this.requestId = requestAnimationFrame(() => this.move());
104 }
105 }
106 // stop the render loop animation (rAF)
107 stopTransformAnimation() {
108 if ( this.requestId ) {

Callers 3

constructorMethod · 0.95
moveMethod · 0.95
hideContentMethod · 0.80

Calls 1

moveMethod · 0.95

Tested by

no test coverage detected