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

Method activate

modules/drivers/neostrand/neostrand.js:381–387  ·  view source on GitHub ↗
(effect)

Source from the content-addressed store, hash-verified

379 }
380
381 activate(effect) {
382 if (effect.dir < 0)
383 effect.timeline.on(effect, { step: [effect.end, effect.start] }, effect.dur, this.easing, 0);
384 else
385 effect.timeline.on(effect, { step: [effect.start, effect.end] }, effect.dur, this.easing, 0);
386 effect.reset(effect);
387 }
388
389 set step(s) {
390 let x;

Callers

nothing calls this directly

Calls 2

onMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected