@fluritheme/spider
Version:
A tiny, expressive spider for your website. Delicate webs that follow DOM layers, blinking eyes, and playful pointer reactions.
15 lines • 490 B
TypeScript
import type { Box, Point } from './geometry.js';
export interface SilkAnchor extends Point {
id: string;
element: HTMLElement;
ink: string;
glyph?: number;
side?: 'top' | 'bottom';
box?: Box;
}
export interface SilkNetwork {
anchors: SilkAnchor[];
retained: Map<string, SilkAnchor>;
}
export declare function measureNetwork(root: Document | HTMLElement, targets: readonly HTMLElement[], previous: SilkNetwork): SilkNetwork;
//# sourceMappingURL=silk.d.ts.map