UNPKG

1.46 kBTypeScriptView Raw
1import type { IBackground } from "./Background/IBackground";
2import type { IBackgroundMask } from "./BackgroundMask/IBackgroundMask";
3import type { IFullScreen } from "./FullScreen/IFullScreen";
4import type { IInteractivity } from "./Interactivity/IInteractivity";
5import type { IManualParticle } from "./IManualParticle";
6import type { IParticlesOptions } from "./Particles/IParticlesOptions";
7import type { IResponsive } from "./IResponsive";
8import type { ITheme } from "./Theme/ITheme";
9import type { RangeValue } from "../../Types/RangeValue";
10import type { RecursivePartial } from "../../Types/RecursivePartial";
11import type { SingleOrMultiple } from "../../Types/SingleOrMultiple";
12export interface IOptions {
13 [name: string]: unknown;
14 autoPlay: boolean;
15 background: IBackground;
16 backgroundMask: IBackgroundMask;
17 backgroundMode: RecursivePartial<IFullScreen> | boolean;
18 delay: RangeValue;
19 detectRetina: boolean;
20 duration: RangeValue;
21 fpsLimit: number;
22 fps_limit: number;
23 fullScreen: RecursivePartial<IFullScreen> | boolean;
24 interactivity: IInteractivity;
25 manualParticles: IManualParticle[];
26 particles: IParticlesOptions;
27 pauseOnBlur: boolean;
28 pauseOnOutsideViewport: boolean;
29 preset?: SingleOrMultiple<string>;
30 responsive: IResponsive[];
31 retina_detect: boolean;
32 smooth: boolean;
33 style: RecursivePartial<CSSStyleDeclaration>;
34 themes: ITheme[];
35 zLayers: number;
36}