MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / onUpdate

Function onUpdate

assets/js/temp_slider.js:56–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54})
55
56function onUpdate(){
57 liquidId = Math.abs(Math.round(dragger._gsTransform.y/step));
58
59 label.textContent = liquidId + '°';
60 TweenMax.to(liquid, 1.3, {
61 y:dragger._gsTransform.y*1.12,
62 ease:Elastic.easeOut.config(1,0.4)
63 })
64
65}
66
67TweenMax.to(follower, 1, {
68 y:'+=0',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected