Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion @types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { EventEmitter } from 'eventemitter3'

interface EaseOptions {
duration?: number
wait?: number
ease?: string | Function
useRaf?: boolean
ticker?: PIXI.Ticker
Expand Down Expand Up @@ -78,4 +79,4 @@ export declare class Easing extends EventEmitter {
repeat(ease: Ease): void
update(elapsed: number): void
count(): number
}
}
3 changes: 2 additions & 1 deletion src/ease.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Easing } from './easing'

const easeOptions = {
duration: 1000,
wait: 0,
ease: Penner.easeInOutSine,
maxFrame: 1000 / 60,
ticker: null,
Expand Down Expand Up @@ -340,4 +341,4 @@ export class List
* fires on each loop when there are eases running
* @event Ease#each
* @type {Ease}
*/
*/