@jetjs/utils

class Preloader

Preloader implementation to load files before they are actually needed.

Methods

MethodReturnDescription
preload(source, priority, sourceType)
void

Method Details

  • preload(source, priority, sourceType) Method

    Signature:
    preload(source: string, priority: PreloadPriority, sourceType?: PreloadType): void;
    Returns:
    void
    ParameterTypeDescription
    source
    string
    priority
    PreloadPriority
    sourceType
    PreloadType