diff --git a/@types/index.d.ts b/@types/index.d.ts index 5330608..f9a3f5f 100644 --- a/@types/index.d.ts +++ b/@types/index.d.ts @@ -3,6 +3,7 @@ import { EventEmitter } from 'eventemitter3' interface EaseOptions { duration?: number + wait?: number ease?: string | Function useRaf?: boolean ticker?: PIXI.Ticker @@ -78,4 +79,4 @@ export declare class Easing extends EventEmitter { repeat(ease: Ease): void update(elapsed: number): void count(): number -} \ No newline at end of file +} diff --git a/src/ease.js b/src/ease.js index 61ce530..e2aaceb 100644 --- a/src/ease.js +++ b/src/ease.js @@ -5,6 +5,7 @@ import { Easing } from './easing' const easeOptions = { duration: 1000, + wait: 0, ease: Penner.easeInOutSine, maxFrame: 1000 / 60, ticker: null, @@ -340,4 +341,4 @@ export class List * fires on each loop when there are eases running * @event Ease#each * @type {Ease} - */ \ No newline at end of file + */