MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / to

Method to

modules/piu/All/piuTimeline.js:112–117  ·  view source on GitHub ↗
(target, toProperties, duration, easing = null, delay = 0, when = this.duration)

Source from the content-addressed store, hash-verified

110 return this;
111 }
112 to(target, toProperties, duration, easing = null, delay = 0, when = this.duration) {
113 when += delay;
114 this.duration = Math.max(when + duration, this.duration);
115 this.tweens.push(Tween.to(target, toProperties, duration, easing, when));
116 return this;
117 }
118 seekTo(time) {
119 let duration = this.duration;
120 time -= this.delay;

Callers 3

onDisplayingMethod · 0.95
onDisplayingMethod · 0.95
onTapMethod · 0.95

Calls 3

maxMethod · 0.80
pushMethod · 0.45
toMethod · 0.45

Tested by

no test coverage detected