UNPKG

intro.js

Version:

User Onboarding and Product Walkthrough Library

12 lines (11 loc) 478 B
export declare const getPositionRelativeTo: (relativeElement: HTMLElement, element: HTMLElement, targetElement: HTMLElement, padding: number) => { width: string; height: string; top: string; left: string; } | undefined; /** * Sets the position of the element relative to the target element * @api private */ export declare const setPositionRelativeTo: (relativeElement: HTMLElement, element: HTMLElement, targetElement: HTMLElement, padding: number) => void;