Magpie HTML - v0.1.3
    Preparing search index...

    Interface PreloadResource

    Preload or prefetch resource hint.

    interface PreloadResource {
        url: string;
        as?: string;
        type?: string;
        crossorigin?: string;
        prefetch?: boolean;
    }
    Index

    Properties

    url: string

    Resource URL

    as?: string

    Resource type (script, style, font, image, etc.)

    type?: string

    MIME type

    crossorigin?: string

    Crossorigin attribute

    prefetch?: boolean

    Whether this is a prefetch (true) or preload (false)