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

Method to

modules/piu/All/piuTimeline.js:56–63  ·  view source on GitHub ↗
(target, toProperties, duration, easing, delay)

Source from the content-addressed store, hash-verified

54 return new Tween(target, properties, duration, easing, delay);
55 }
56 static to(target, toProperties, duration, easing, delay) {
57 let properties = [], name
58 for (name in toProperties) {
59 let to = toProperties[name];
60 properties.push(new TweenProperty(name, target[name], to));
61 }
62 return new Tween(target, properties, duration, easing, delay);
63 }
64 seekTo(time) {
65 let duration = this.duration;
66 time -= this.delay;

Callers 15

toMethod · 0.45
startTransitionMethod · 0.45
to.jsFile · 0.45
onConnectedMethod · 0.45
onDisplayingMethod · 0.45
fadeOutMethod · 0.45
onDisplayingMethod · 0.45
selectMethod · 0.45
onDisplayingMethod · 0.45
startAnimationMethod · 0.45
easeInMethod · 0.45
easeOutMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected