npm install test-weexThis is a weex-plug-in for test Code
Require weex version >= 0.16.0
```with npm
$ npm i test-weex --savewith weex-toolkit
$ weex plugin add test-weex
Examples: examples
Animation instances have these main methods:
: usually pass as location.href. Its useful when you experience mask issue in safari where your url does not have # symbol.$3
- speed: 1 is normal speed.$3
- value: numeric value.
- isFrame: defines if first argument is a time based value or a frame based (default false).$3
- value: numeric value.
- isFrame: defines if first argument is a time based value or a frame based (default false).$3
- direction: 1 is forward, -1 is reverse.$3
- segments: array. Can contain 2 numeric values that will be used as first and last frame of the animation. Or can contain a sequence of arrays each with 2 numeric values.
- forceFlag: boolean. If set to false, it will wait until the current segment is complete. If true, it will update values immediately.$3
- useSubFrames`: If false, it will respect the original AE fps. If true, it will update on every requestAnimationFrame with intermediate values. Default is true.