Hierarchy

  • PrefetchWatcherConfig

Properties

Properties

callback: ((param: HTMLElement) => void)

Type declaration

    • (param: HTMLElement): void
    • A callback to allow using attributes of the discovered element to be used to prefetch resources as needed.

      Parameters

      • param: HTMLElement

      Returns void

selector: string

The CSS selector to use when finding elements whose src or href should be deep fetched

Generated using TypeDoc