UNPKG

@adoratorio/apollo

Version:

A JS library for custom cursor

33 lines 799 B
import Aion from '@adoratorio/aion'; import Apollo from '.'; export interface Easing { mode: Function; duration: number; } export interface Vec2 { x: number; y: number; } export interface ApolloOptions { easing: Easing; initialPosition: Vec2; detectTouch: boolean; aion: Aion | null; } export interface Timeline { start: number; duration: number; initial: number; current: number; final: number; } export interface ApolloPlugin { id?: string; name: string; register?: (context: Apollo) => void; destroy?: () => void; preFrame?: (context: Apollo, delta: number) => void; frame?: (context: Apollo, delta: number) => void; afterFrame?: (context: Apollo, delta: number) => void; } //# sourceMappingURL=declarations.d.ts.map