933d61de19
* added ESLint and updated all code base * updated SVGPathCommander, CubicBezier, shorter-js, minifill * updated polyfills * minor CSS fixes
10 lines
366 B
JavaScript
10 lines
366 B
JavaScript
import selector from '../util/selector.js';
|
|
import TweenCollection from '../tween/tweenCollection.js';
|
|
|
|
// multiple elements tween objects
|
|
export default function allTo(elements, endObject, optionsObj) {
|
|
const options = optionsObj || {};
|
|
optionsObj.resetStart = endObject;
|
|
return new TweenCollection(selector(elements, true), endObject, endObject, options);
|
|
}
|