@tsparticles/shape-image
Version:
tsParticles image shape
11 lines (10 loc) • 480 B
TypeScript
import type { Engine, IContainerPlugin, IPlugin, RecursivePartial } from "@tsparticles/engine";
import type { IPreloadOptions, PreloadOptions } from "./types.js";
export declare class ImagePreloaderPlugin implements IPlugin {
readonly id: string;
private readonly _engine;
constructor(engine: Engine);
getPlugin(): Promise<IContainerPlugin>;
loadOptions(options: PreloadOptions, source?: RecursivePartial<IPreloadOptions>): void;
needsPlugin(): boolean;
}