Optional__staticThe container for the preloader. Set it to null if you only need the preloader logic.
OptionalcustomSelector for custom resources to preload. Elements should include data-weight and data-loaded attributes.
Example: data-weight="10" for a weight of 10, data-loaded="10" when loaded.
OptionalendDuration (ms) to complete the preloader if resources are loaded but progress < 1.
OptionalhideDefines whether to automatically hide the preloader container.
false: Disables the hiding animation, allowing you to manage it manually.number: Specifies the animation duration in milliseconds.
This works only if the container is an HTML element.OptionalignoreClass name for elements to exclude from preloading.
OptionallerpLinear interpolation factor for smooth progress updates. 1 disables interpolation for instant updates.
OptionalpreloadEnables automatic preloading of images.
OptionalpreloadEnables automatic preloading of videos.
OptionalresourceContainer source for preloader resources.
Static properties for configuring the progress preloader.