@hxui/angular
Version:
An Angular library based on the [HXUI design system](https://hxui.io).
14 lines (13 loc) • 647 B
TypeScript
/**
* @copyright Valor Software
* @copyright Angular ng-bootstrap team
*/
export declare class Positioning {
position(element: HTMLElement, round?: boolean): Record<string, number>;
offset(element: HTMLElement, round?: boolean): Record<string, number>;
positionElements(hostElement: HTMLElement, targetElement: HTMLElement, placement: string, appendToBody?: boolean): Record<string, number>;
private getStyle;
private isStaticPositioned;
private offsetParent;
}
export declare function positionElements(hostElement: HTMLElement, targetElement: HTMLElement, placement: string, appendToBody?: boolean): void;