@jetjs/utils
class Preloader
Preloader implementation to load files before they are actually needed.
Methods
Method | Return | Description |
---|---|---|
preload(source, priority, sourceType) | void |
Method Details
-
preload(source, priority, sourceType) Method
Signature:preload(source: string, priority: PreloadPriority, sourceType?: PreloadType): void;
Returns:void
Parameter Type Description source string
priority PreloadPriority
sourceType PreloadType