Files
www/js/simpleParallaxe/simpleParallax-master/index.d.ts

16 lines
435 B
TypeScript

declare module 'simple-parallax-js' {
interface IParallaxSettings {
orientation?: 'up' | 'down' | 'left' | 'right';
scale?: number;
overflow?: boolean;
delay?: number;
transition?: string;
breakpoint?: number;
}
export default class SimpleParallax {
constructor(images: Element | Element[], settings?: IParallaxSettings);
public destroy: () => void;
}
}