Framer [CoffeeScript] - 无法在循环中访问数组

时间:2017-10-09 00:57:07

标签: coffeescript framerjs

我无法在for循环中访问我的数组 - 为什么?提前谢谢。

我想为我的" PageDowns"播放状态动画。元件。

enter image description here

抱歉,我无法粘贴代码,因为CodeSample在这里对我不起作用。

1 个答案:

答案 0 :(得分:0)

自己动手。

这是范围问题。在数组,循环等方面,CoffeeScript并不容易处理。

我不得不写:

do(pageDown)
   PageDowns[i].animate "swipe"
相关问题