Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias LazyOptions

    What images.lazy does to <img> and <iframe> start tags. skip is how many <img> tags at the top of the page keep loading at once, since the first images are the likeliest to be in the first viewport; default 2. iframes adds loading="lazy" to <iframe> tags too; default false.

    type LazyOptions = {
        iframes?: boolean;
        skip?: number;
    }
    Index
    iframes?: boolean
    skip?: number