vevet
Version:
Vevet is a JavaScript library for creative development that simplifies crafting rich interactions like split text animations, carousels, marquees, preloading, and more.
6 lines • 367 B
TypeScript
import { IProgressPreloaderResource } from '../types';
/**
* Preloads a custom resource element by recursively checking its load progress until the target progress is reached.
*/
export declare function preloadCustomElement({ id, weight }: IProgressPreloaderResource, onLoad: (loadedWeight: number) => void): void;
//# sourceMappingURL=preloadCustomElement.d.ts.map