animejs 4.0.2 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "animejs",
3
- "version": "4.0.2",
3
+ "version": "4.1.0",
4
4
  "homepage": "https://animejs.com",
5
5
  "repository": {
6
6
  "type": "git",
package/types/index.d.ts CHANGED
@@ -70,6 +70,7 @@ declare function getTargetValue(targetSelector: TargetsParam, propName: string,
70
70
  declare function sync(callback?: Callback<Timer>): Timer;
71
71
  declare function setTargetValues(targets: TargetsParam, parameters: AnimationParams): JSAnimation;
72
72
  declare function remove(targets: TargetsParam, renderable?: Renderable | WAAPIAnimation, propertyName?: string): TargetsArray;
73
+ declare const keepTime: (constructor: (...args: any[]) => Tickable | ((...args: any[]) => void)) => (...args: any[]) => Tickable | ((...args: any[]) => void);
73
74
  declare function lerp(start: number, end: number, amount: number, renderable?: Renderable | boolean): number;
74
75
  declare namespace utils {
75
76
  export { registerTargets as $ };
@@ -82,6 +83,7 @@ declare namespace utils {
82
83
  export { shuffle };
83
84
  export { lerp };
84
85
  export { sync };
86
+ export { keepTime };
85
87
  export let clamp: ((v: number, min: number, max: number) => number) & ChainedClamp;
86
88
  export let round: ((v: number, decimalLength: number) => number) & ChainedRound;
87
89
  export let snap: ((v: number, increment: number | number[]) => number) & ChainedSnap;
@@ -199,8 +201,8 @@ declare function registerTargets(targets: DOMTargetsParam): DOMTargetsArray;
199
201
  declare function registerTargets(targets: JSTargetsParam): JSTargetsArray;
200
202
  declare function registerTargets(targets: TargetsParam): TargetsArray;
201
203
  declare function random(min: number, max: number, decimalLength?: number): number;
202
- declare function randomPick(items: string | any[]): any;
203
204
  declare function shuffle(items: any[]): any[];
205
+ declare function randomPick(items: string | any[]): any;
204
206
  declare namespace svg {
205
207
  export { morphTo };
206
208
  export { createMotionPath };
@@ -216,39 +218,7 @@ declare function createDrawable(selector: TargetsParam, start?: number, end?: nu
216
218
  declare function stagger(val: number | string | [
217
219
  number | string,
218
220
  number | string
219
- ], params?: StaggerParameters): StaggerFunction;
220
- type StaggerParameters = {
221
- start?: number | string;
222
- from?: number | "first" | "center" | "last";
223
- reversed?: boolean;
224
- grid?: Array<number>;
225
- axis?: ("x" | "y");
226
- ease?: EasingParam;
227
- modifier?: TweenModifier;
228
- };
229
- type StaggerFunction = (target?: Target, index?: number, length?: number, tl?: Timeline) => number | string;
230
- declare class Timeline extends Timer {
231
- constructor(parameters?: TimelineParams);
232
- labels: Record<string, number>;
233
- defaults: DefaultsParams;
234
- onRender: Callback<this>;
235
- _ease: EasingFunction;
236
- add(a1: TargetsParam, a2: AnimationParams, a3?: TimePosition): this;
237
- add(a1: TimerParams, a2?: TimePosition): this;
238
- sync(synced?: Tickable, position?: TimePosition): this;
239
- sync(synced?: globalThis.Animation, position?: TimePosition): this;
240
- sync(synced?: WAAPIAnimation, position?: TimePosition): this;
241
- set(targets: TargetsParam, parameters: AnimationParams, position?: TimePosition): this;
242
- call(callback: Callback<Timer>, position?: TimePosition): this;
243
- label(labelName: string, position?: TimePosition): this;
244
- remove(targets: TargetsParam, propertyName?: string): this;
245
- stretch(newDuration: number): this;
246
- refresh(): this;
247
- revert(): this;
248
- then(callback?: Callback<this>): Promise<any>;
249
- }
250
- declare function createTimeline(parameters?: TimelineParams): Timeline;
251
- type TimePosition = number | string | Function;
221
+ ], params?: StaggerParams): StaggerFunction;
252
222
  declare namespace eases {
253
223
  export let linear: (...args?: (string | number)[]) => EasingFunction;
254
224
  export let irregular: (length?: number, randomness?: number) => EasingFunction;
@@ -337,50 +307,18 @@ declare class Animatable {
337
307
  revert(): this;
338
308
  }
339
309
  declare function createAnimatable(targets: TargetsParam, parameters: AnimatableParams): AnimatableObject;
340
- type Revertible = Animatable | Tickable | Draggable | ScrollObserver | Scope;
341
- type DraggableAxisParam = {
342
- mapTo?: string;
343
- modifier?: TweenModifier;
344
- composition?: TweenComposition;
345
- snap?: number | number[] | ((draggable: Draggable) => number | Array<number>);
346
- };
347
- type DraggableCursorParams = {
348
- onHover?: string;
349
- onGrab?: string;
350
- };
351
- type DraggableParams = {
352
- trigger?: DOMTargetSelector;
353
- container?: number[] | DOMTargetSelector | ((draggable: Draggable) => DOMTargetSelector | Array<number>);
354
- x?: boolean | DraggableAxisParam;
355
- y?: boolean | DraggableAxisParam;
310
+ type Revertible = Animatable | Tickable | Draggable | ScrollObserver | TextSplitter | Scope;
311
+ type StaggerFunction = (target?: Target, index?: number, length?: number, tl?: Timeline) => number | string;
312
+ type StaggerParams = {
313
+ start?: number | string;
314
+ from?: number | 'first' | 'center' | 'last' | 'random';
315
+ reversed?: boolean;
316
+ grid?: Array<number>;
317
+ axis?: ('x' | 'y');
318
+ use?: string | StaggerFunction;
319
+ total?: number;
320
+ ease?: EasingParam;
356
321
  modifier?: TweenModifier;
357
- snap?: number | number[] | ((draggable: Draggable) => number | Array<number>);
358
- containerPadding?: number | number[] | ((draggable: Draggable) => number | Array<number>);
359
- containerFriction?: number | ((draggable: Draggable) => number);
360
- releaseContainerFriction?: number | ((draggable: Draggable) => number);
361
- dragSpeed?: number | ((draggable: Draggable) => number);
362
- scrollSpeed?: number | ((draggable: Draggable) => number);
363
- scrollThreshold?: number | ((draggable: Draggable) => number);
364
- minVelocity?: number | ((draggable: Draggable) => number);
365
- maxVelocity?: number | ((draggable: Draggable) => number);
366
- velocityMultiplier?: number | ((draggable: Draggable) => number);
367
- releaseMass?: number;
368
- releaseStiffness?: number;
369
- releaseDamping?: number;
370
- releaseEase?: EasingParam;
371
- cursor?: boolean | DraggableCursorParams | ((draggable: Draggable) => boolean | DraggableCursorParams);
372
- onGrab?: Callback<Draggable>;
373
- onDrag?: Callback<Draggable>;
374
- onRelease?: Callback<Draggable>;
375
- onUpdate?: Callback<Draggable>;
376
- onSettle?: Callback<Draggable>;
377
- onSnap?: Callback<Draggable>;
378
- onResize?: Callback<Draggable>;
379
- onAfterResize?: Callback<Draggable>;
380
- };
381
- type DrawableSVGGeometry = SVGGeometryElement & {
382
- setAttribute(name: 'draw', value: `${number} ${number}`): void;
383
- draw: `${number} ${number}`;
384
322
  };
385
323
  type EasingFunction = (time: number) => number;
386
324
  type EaseStringParamNames = ('linear' | 'linear(x1, x2 25%, x3)' | 'in' | 'out' | 'inOut' | 'inQuad' | 'outQuad' | 'inOutQuad' | 'inCubic' | 'outCubic' | 'inOutCubic' | 'inQuart' | 'outQuart' | 'inOutQuart' | 'inQuint' | 'outQuint' | 'inOutQuint' | 'inSine' | 'outSine' | 'inOutSine' | 'inCirc' | 'outCirc' | 'inOutCirc' | 'inExpo' | 'outExpo' | 'inOutExpo' | 'inBounce' | 'outBounce' | 'inOutBounce' | 'inBack' | 'outBack' | 'inOutBack' | 'inElastic' | 'outElastic' | 'inOutElastic' | 'irregular' | 'cubicBezier' | 'steps' | 'in(p = 1.675)' | 'out(p = 1.675)' | 'inOut(p = 1.675)' | 'inBack(overshoot = 1.70158)' | 'outBack(overshoot = 1.70158)' | 'inOutBack(overshoot = 1.70158)' | 'inElastic(amplitude = 1, period = .3)' | 'outElastic(amplitude = 1, period = .3)' | 'inOutElastic(amplitude = 1, period = .3)' | 'irregular(length = 10, randomness = 1)' | 'cubicBezier(x1, y1, x2, y2)' | 'steps(steps = 10)');
@@ -396,9 +334,6 @@ type JSTargetsParam = Array<JSTarget> | JSTarget;
396
334
  type JSTargetsArray = Array<JSTarget>;
397
335
  type TargetsParam = Array<TargetSelector> | TargetSelector;
398
336
  type TargetsArray = Array<Target>;
399
- type FunctionValue = (target: Target, index: number, length: number) => number | string | TweenObjectValue | Array<number | string | TweenObjectValue>;
400
- type TweenModifier = (value: number) => number | string;
401
- type ColorArray = [number, number, number, number];
402
337
  type Callback<T> = (self: T, e?: PointerEvent) => any;
403
338
  type TickableCallbacks<T extends unknown> = {
404
339
  onBegin?: Callback<T>;
@@ -411,6 +346,26 @@ type TickableCallbacks<T extends unknown> = {
411
346
  type RenderableCallbacks<T extends unknown> = {
412
347
  onRender?: Callback<T>;
413
348
  };
349
+ type TimerOptions = {
350
+ id?: number | string;
351
+ duration?: TweenParamValue;
352
+ delay?: TweenParamValue;
353
+ loopDelay?: number;
354
+ reversed?: boolean;
355
+ alternate?: boolean;
356
+ loop?: boolean | number;
357
+ autoplay?: boolean | ScrollObserver;
358
+ frameRate?: number;
359
+ playbackRate?: number;
360
+ };
361
+ /**
362
+ *
363
+ * /**
364
+ */
365
+ type TimerParams = TimerOptions & TickableCallbacks<Timer>;
366
+ type FunctionValue = (target: Target, index: number, length: number) => number | string | TweenObjectValue | Array<number | string | TweenObjectValue>;
367
+ type TweenModifier = (value: number) => number | string;
368
+ type ColorArray = [number, number, number, number];
414
369
  type Tween = {
415
370
  id: number;
416
371
  parent: JSAnimation;
@@ -480,23 +435,6 @@ type TweenPropertySiblings = {
480
435
  type TweenLookups = Record<string, TweenPropertySiblings>;
481
436
  type TweenReplaceLookups = WeakMap<Target, TweenLookups>;
482
437
  type TweenAdditiveLookups = Map<Target, TweenLookups>;
483
- type TimerOptions = {
484
- id?: number | string;
485
- duration?: TweenParamValue;
486
- delay?: TweenParamValue;
487
- loopDelay?: number;
488
- reversed?: boolean;
489
- alternate?: boolean;
490
- loop?: boolean | number;
491
- autoplay?: boolean | ScrollObserver;
492
- frameRate?: number;
493
- playbackRate?: number;
494
- };
495
- /**
496
- *
497
- * /**
498
- */
499
- type TimerParams = TimerOptions & TickableCallbacks<Timer>;
500
438
  type TweenParamValue = number | string | FunctionValue;
501
439
  type TweenPropValue = TweenParamValue | [TweenParamValue, TweenParamValue];
502
440
  type TweenComposition = (string & {}) | 'none' | 'replace' | 'blend' | compositionTypes;
@@ -548,6 +486,102 @@ type AnimatablePropertyParamsOptions = {
548
486
  composition?: TweenComposition;
549
487
  };
550
488
  type AnimatableParams = Record<string, TweenParamValue | EasingParam | TweenModifier | TweenComposition | AnimatablePropertyParamsOptions> & AnimatablePropertyParamsOptions;
489
+ type ReactRef = {
490
+ current?: HTMLElement | SVGElement | null;
491
+ };
492
+ type AngularRef = {
493
+ nativeElement?: HTMLElement | SVGElement;
494
+ };
495
+ type ScopeParams = {
496
+ root?: DOMTargetSelector | ReactRef | AngularRef;
497
+ defaults?: DefaultsParams;
498
+ mediaQueries?: Record<string, string>;
499
+ };
500
+ type ScopedCallback<T> = (scope: Scope) => T;
501
+ type ScopeCleanupCallback = (scope?: Scope) => any;
502
+ type ScopeConstructorCallback = (scope?: Scope) => ScopeCleanupCallback | void;
503
+ type ScopeMethod = (...args: any[]) => ScopeCleanupCallback | void;
504
+ type DraggableAxisParam = {
505
+ mapTo?: string;
506
+ modifier?: TweenModifier;
507
+ composition?: TweenComposition;
508
+ snap?: number | number[] | ((draggable: Draggable) => number | Array<number>);
509
+ };
510
+ type DraggableCursorParams = {
511
+ onHover?: string;
512
+ onGrab?: string;
513
+ };
514
+ type DraggableParams = {
515
+ trigger?: DOMTargetSelector;
516
+ container?: number[] | DOMTargetSelector | ((draggable: Draggable) => DOMTargetSelector | Array<number>);
517
+ x?: boolean | DraggableAxisParam;
518
+ y?: boolean | DraggableAxisParam;
519
+ modifier?: TweenModifier;
520
+ snap?: number | number[] | ((draggable: Draggable) => number | Array<number>);
521
+ containerPadding?: number | number[] | ((draggable: Draggable) => number | Array<number>);
522
+ containerFriction?: number | ((draggable: Draggable) => number);
523
+ releaseContainerFriction?: number | ((draggable: Draggable) => number);
524
+ dragSpeed?: number | ((draggable: Draggable) => number);
525
+ scrollSpeed?: number | ((draggable: Draggable) => number);
526
+ scrollThreshold?: number | ((draggable: Draggable) => number);
527
+ minVelocity?: number | ((draggable: Draggable) => number);
528
+ maxVelocity?: number | ((draggable: Draggable) => number);
529
+ velocityMultiplier?: number | ((draggable: Draggable) => number);
530
+ releaseMass?: number;
531
+ releaseStiffness?: number;
532
+ releaseDamping?: number;
533
+ releaseEase?: EasingParam;
534
+ cursor?: boolean | DraggableCursorParams | ((draggable: Draggable) => boolean | DraggableCursorParams);
535
+ onGrab?: Callback<Draggable>;
536
+ onDrag?: Callback<Draggable>;
537
+ onRelease?: Callback<Draggable>;
538
+ onUpdate?: Callback<Draggable>;
539
+ onSettle?: Callback<Draggable>;
540
+ onSnap?: Callback<Draggable>;
541
+ onResize?: Callback<Draggable>;
542
+ onAfterResize?: Callback<Draggable>;
543
+ };
544
+ type splitTemplateParams = {
545
+ class?: false | string;
546
+ wrap?: boolean | 'hidden' | 'clip' | 'visible' | 'scroll' | 'auto';
547
+ clone?: boolean | 'top' | 'right' | 'bottom' | 'left' | 'center';
548
+ };
549
+ type SplitValue = boolean | string;
550
+ type SplitFunctionValue = (value?: Node | HTMLElement) => any;
551
+ type TextSplitterParams = {
552
+ lines?: SplitValue | splitTemplateParams | SplitFunctionValue;
553
+ words?: SplitValue | splitTemplateParams | SplitFunctionValue;
554
+ chars?: SplitValue | splitTemplateParams | SplitFunctionValue;
555
+ accessible?: boolean;
556
+ includeSpaces?: boolean;
557
+ debug?: boolean;
558
+ };
559
+ type DrawableSVGGeometry = SVGGeometryElement & {
560
+ setAttribute(name: 'draw', value: `${number} ${number}`): void;
561
+ draw: `${number} ${number}`;
562
+ };
563
+ declare class Timeline extends Timer {
564
+ constructor(parameters?: TimelineParams);
565
+ labels: Record<string, number>;
566
+ defaults: DefaultsParams;
567
+ onRender: Callback<this>;
568
+ _ease: EasingFunction;
569
+ add(a1: TargetsParam, a2: AnimationParams, a3?: TimePosition): this;
570
+ add(a1: TimerParams, a2?: TimePosition): this;
571
+ sync(synced?: Tickable, position?: TimePosition): this;
572
+ sync(synced?: globalThis.Animation, position?: TimePosition): this;
573
+ sync(synced?: WAAPIAnimation, position?: TimePosition): this;
574
+ set(targets: TargetsParam, parameters: AnimationParams, position?: TimePosition): this;
575
+ call(callback: Callback<Timer>, position?: TimePosition): this;
576
+ label(labelName: string, position?: TimePosition): this;
577
+ remove(targets: TargetsParam, propertyName?: string): this;
578
+ stretch(newDuration: number): this;
579
+ refresh(): this;
580
+ revert(): this;
581
+ then(callback?: Callback<this>): Promise<any>;
582
+ }
583
+ declare function createTimeline(parameters?: TimelineParams): Timeline;
584
+ type TimePosition = number | string | Function;
551
585
  declare class Draggable {
552
586
  constructor(target: TargetsParam, parameters?: DraggableParams);
553
587
  containerArray: number[];
@@ -759,35 +793,29 @@ declare class Scope {
759
793
  constructor(parameters?: ScopeParams);
760
794
  defaults: DefaultsParams;
761
795
  root: Document | DOMTarget;
762
- constructors: Array<ScopeConstructor>;
763
- revertConstructors: Array<Function>;
796
+ constructors: Array<ScopeConstructorCallback>;
797
+ revertConstructors: Array<ScopeCleanupCallback>;
764
798
  revertibles: Array<Revertible>;
765
- methods: Record<string, Function>;
799
+ constructorsOnce: (ScopeConstructorCallback | ((scope: this) => Tickable))[];
800
+ revertConstructorsOnce: Array<ScopeCleanupCallback>;
801
+ revertiblesOnce: Array<Revertible>;
802
+ once: boolean;
803
+ onceIndex: number;
804
+ methods: Record<string, ScopeMethod>;
766
805
  matches: Record<string, boolean>;
767
806
  mediaQueryLists: Record<string, MediaQueryList>;
768
807
  data: Record<string, any>;
769
- execute(cb: (scope: this) => any): this;
808
+ register(revertible: Revertible): void;
809
+ execute<T>(cb: ScopedCallback<T>): T;
770
810
  refresh(): this;
771
811
  add(a1: string, a2: ScopeMethod): this;
772
- add(a1: (self: this) => any): this;
812
+ add(a1: ScopeConstructorCallback): this;
813
+ addOnce(scopeConstructorCallback: ScopeConstructorCallback): this;
814
+ keepTime(cb: (scope: this) => Tickable): Tickable;
773
815
  handleEvent(e: Event): void;
774
816
  revert(): void;
775
817
  }
776
818
  declare function createScope(params?: ScopeParams): Scope;
777
- type ReactRef = {
778
- current?: HTMLElement | SVGElement | null;
779
- };
780
- type AngularRef = {
781
- nativeElement?: HTMLElement | SVGElement;
782
- };
783
- type ScopeParams = {
784
- root?: DOMTargetSelector | ReactRef | AngularRef;
785
- defaults?: DefaultsParams;
786
- mediaQueries?: Record<string, string>;
787
- };
788
- type ScopeCleanup = (scope?: Scope) => any;
789
- type ScopeConstructor = (scope?: Scope) => ScopeCleanup | void;
790
- type ScopeMethod = (...args: any[]) => ScopeCleanup | void;
791
819
  declare const scrollContainers: Map<any, any>;
792
820
  declare class ScrollObserver {
793
821
  constructor(parameters?: ScrollObserverParams);
@@ -1020,4 +1048,35 @@ type WAAPIAnimationOptions = {
1020
1048
  };
1021
1049
  type WAAPIAnimationParams = Record<string, WAAPIKeyframeValue | WAAPIAnimationOptions | boolean | ScrollObserver | WAAPICallback | EasingParam | WAAPITweenOptions> & WAAPIAnimationOptions;
1022
1050
  declare function easingToLinear(fn: EasingFunction, samples?: number): string;
1023
- export { engine, utils, svg, stagger, eases, DefaultsParams, Renderable, Tickable, CallbackArgument, Revertible, DraggableAxisParam, DraggableCursorParams, DraggableParams, DrawableSVGGeometry, EasingFunction, EaseStringParamNames, EasingParam, DOMTarget, JSTarget, Target, TargetSelector, DOMTargetSelector, DOMTargetsParam, DOMTargetsArray, JSTargetsParam, JSTargetsArray, TargetsParam, TargetsArray, FunctionValue, TweenModifier, ColorArray, Callback, TickableCallbacks, RenderableCallbacks, Tween, TweenDecomposedValue, TweenPropertySiblings, TweenLookups, TweenReplaceLookups, TweenAdditiveLookups, TimerOptions, TimerParams, TweenParamValue, TweenPropValue, TweenComposition, TweenParamsOptions, TweenValues, TweenKeyValue, ArraySyntaxValue, TweenOptions, TweenObjectValue, PercentageKeyframeOptions, PercentageKeyframeParams, PercentageKeyframes, DurationKeyframes, AnimationOptions, AnimationParams, TimelineOptions, TimelineParams, AnimatablePropertySetter, AnimatablePropertyGetter, AnimatableProperty, AnimatableObject, AnimatablePropertyParamsOptions, AnimatableParams, createTimer, Timer, animate, JSAnimation, createTimeline, Timeline, createAnimatable, Animatable, createDraggable, Draggable, createScope, Scope, onScroll, ScrollObserver, scrollContainers, createSpring, Spring, waapi, WAAPIAnimation };
1051
+ declare class TextSplitter {
1052
+ constructor(target: HTMLElement | NodeList | string | Array<HTMLElement>, parameters?: TextSplitterParams);
1053
+ debug: boolean;
1054
+ includeSpaces: boolean;
1055
+ accessible: boolean;
1056
+ linesOnly: boolean;
1057
+ lineTemplate: string | false | SplitFunctionValue;
1058
+ wordTemplate: string | false | SplitFunctionValue;
1059
+ charTemplate: string | false | SplitFunctionValue;
1060
+ $target: HTMLElement;
1061
+ html: string;
1062
+ lines: any[];
1063
+ words: any[];
1064
+ chars: any[];
1065
+ effects: any[];
1066
+ effectsCleanups: any[];
1067
+ cache: string;
1068
+ ready: boolean;
1069
+ width: number;
1070
+ resizeTimeout: NodeJS.Timeout;
1071
+ resizeObserver: ResizeObserver;
1072
+ addEffect(effect: (...args: any[]) => Tickable | (() => void)): void | this;
1073
+ revert(): this;
1074
+ splitNode(node: Node): void;
1075
+ split(clearCache?: boolean): this;
1076
+ refresh(): void;
1077
+ }
1078
+ declare function split(target: HTMLElement | NodeList | string | Array<HTMLElement>, parameters?: TextSplitterParams): TextSplitter;
1079
+ declare namespace text {
1080
+ export { split };
1081
+ }
1082
+ export { engine, utils, svg, stagger, eases, DefaultsParams, Renderable, Tickable, CallbackArgument, Revertible, StaggerFunction, StaggerParams, EasingFunction, EaseStringParamNames, EasingParam, DOMTarget, JSTarget, Target, TargetSelector, DOMTargetSelector, DOMTargetsParam, DOMTargetsArray, JSTargetsParam, JSTargetsArray, TargetsParam, TargetsArray, Callback, TickableCallbacks, RenderableCallbacks, TimerOptions, TimerParams, FunctionValue, TweenModifier, ColorArray, Tween, TweenDecomposedValue, TweenPropertySiblings, TweenLookups, TweenReplaceLookups, TweenAdditiveLookups, TweenParamValue, TweenPropValue, TweenComposition, TweenParamsOptions, TweenValues, TweenKeyValue, ArraySyntaxValue, TweenOptions, TweenObjectValue, PercentageKeyframeOptions, PercentageKeyframeParams, PercentageKeyframes, DurationKeyframes, AnimationOptions, AnimationParams, TimelineOptions, TimelineParams, AnimatablePropertySetter, AnimatablePropertyGetter, AnimatableProperty, AnimatableObject, AnimatablePropertyParamsOptions, AnimatableParams, ReactRef, AngularRef, ScopeParams, ScopedCallback, ScopeCleanupCallback, ScopeConstructorCallback, ScopeMethod, DraggableAxisParam, DraggableCursorParams, DraggableParams, splitTemplateParams, SplitValue, SplitFunctionValue, TextSplitterParams, DrawableSVGGeometry, createTimer, Timer, animate, JSAnimation, createTimeline, Timeline, createAnimatable, Animatable, createDraggable, Draggable, createScope, Scope, onScroll, ScrollObserver, scrollContainers, createSpring, Spring, waapi, WAAPIAnimation, text, TextSplitter };