@oddbird/css-anchor-positioning
Version:
Polyfill for the proposed CSS anchor positioning spec
5 lines (4 loc) • 320 B
TypeScript
import { type NormalizedAnchorPositioningPolyfillOptions } from './polyfill.js';
import { type StyleData } from './utils.js';
export declare function isStyleLink(link: HTMLLinkElement): link is HTMLLinkElement;
export declare function fetchCSS(options: NormalizedAnchorPositioningPolyfillOptions): Promise<StyleData[]>;