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

Method activate

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

Source from the content-addressed store, hash-verified

345 }
346
347 activate(effect) {
348 effect.timeline.on(effect, { effectValue: [ 0, 1 ] }, effect.dur, null, 0);
349 effect.reset(effect);
350 }
351
352 set effectValue(value) {
353 let d = value - this.lastValue;

Callers 1

startMethod · 0.45

Calls 2

onMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected