url-animations
Version: 
Animations in your Browser URL Field
18 lines (17 loc) • 446 B
TypeScript
export { default as Custom } from './animations/custom';
export interface BaseAnimation {
    name: string;
    creator: string;
    baseState: any;
    nextState(timestamp: number, state: Object): {
        nextFrame: string;
        state: Object;
    };
}
export declare const Animations: {
    [key: string]: BaseAnimation;
};
export declare const URLAnimation: () => {
    start: (animation: BaseAnimation) => void;
    stop: () => void;
};