// Stop every running animation on these elements (animations have no queue)
eles.stop(jumpToEnd?: boolean): thisStop every running animation on these elements (animations have no queue).
| Name | Description |
|---|---|
jumpToEnd: boolean?Default: false | apply each animation's final values instead of freezing each channel where its tween reached |
Returns
thisthis collection, for chaining
Example
eles.animate({ position: { x: 20, y: 10 }, duration: 100 });eles.stop(true);console.log(eles.animated()); // false