@oddbird/popover-polyfill
Version:
Popover Attribute Polyfill
7 lines (6 loc) • 375 B
TypeScript
import type { PopoverPolyfillOptions } from './shared-types.js';
export declare function isSupported(): boolean;
export declare function isHintSupported(): boolean;
export declare function isPolyfilled(): boolean;
export declare function injectStyles(root: Document | ShadowRoot, layerName?: string): void;
export declare function apply(opts?: PopoverPolyfillOptions): void;