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

Method activate

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

Source from the content-addressed store, hash-verified

303 }
304
305 activate(effect) {
306 effect.timeline.on(effect, { effectValue: [ 0, effect.dur ] }, effect.dur, null, 0);
307 effect.reset(effect);
308 effect.pattern_set = 0;
309 }
310
311 set effectValue(value) {
312 if (0 == this.pattern_set) {

Callers

nothing calls this directly

Calls 2

onMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected