UNPKG

@stimulus-library/controllers

Version:

A library of useful controllers for Stimulus

14 lines (13 loc) 470 B
import { BaseController } from "@stimulus-library/utilities"; export declare class IntersectionController extends BaseController { static values: { threshold: StringConstructor; }; readonly isVisible: boolean; readonly thresholdValue: string; readonly hasThresholdValue: boolean; get _threshold(): number[]; connect(): void; appear(entry: IntersectionObserverEntry): void; disappear(entry: IntersectionObserverEntry): void; }