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

Method activate

contributed/effects/manySchemes/main.js:111–114  ·  view source on GitHub ↗
(effect)

Source from the content-addressed store, hash-verified

109 }
110
111 activate(effect) {
112 effect.timeline.on(effect, { effectValue: [ 0, effect.dur ] }, effect.dur, null, 0);
113 effect.reset(effect);
114 }
115
116 set effectValue(value) {
117 if (0 == this.colors_set) {

Callers

nothing calls this directly

Calls 2

onMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected