UNPKG

@stimulus-library/controllers

Version:

A library of useful controllers for Stimulus

17 lines (16 loc) 514 B
import { BaseController } from "@stimulus-library/utilities"; export declare class PrefetchController extends BaseController { static values: { mode: StringConstructor; }; readonly modeValue: "intersect" | "mouseover"; readonly hasModeValue: boolean; get _mode(): string; get _supportsPrefetch(): boolean; get _href(): string; get _existingPrefetch(): boolean; get _connectionSuitable(): boolean; connect(): void; _setupObserver(): void; prefetch(): void; }