mytril
Version:
Mytril Svelte library component for rapidly building modern websites based on Svelte and Sveltekit
8 lines (7 loc) • 371 B
TypeScript
import type { PositionElement } from '../types/index.js';
type Location = 'top' | 'bottom' | 'left' | 'right';
export declare function getPositionsTooltip(): {
readonly values: PositionElement;
update(activator: HTMLElement, element: HTMLElement, location?: Location, centered?: boolean, type?: "tooltip" | "menu", avoidCollisions?: boolean): void;
};
export {};