ng-positioning.d.ts 730 B

123456789101112
  1. /**
  2. * @copyright Valor Software
  3. * @copyright Federico Zivolo and contributors
  4. */
  5. import { Renderer2 } from '@angular/core';
  6. import { Data, Offsets, Options } from './models';
  7. export declare class Positioning {
  8. position(hostElement: HTMLElement, targetElement: HTMLElement, round?: boolean): Offsets;
  9. offset(hostElement: HTMLElement, targetElement: HTMLElement, round?: boolean): Offsets;
  10. positionElements(hostElement: HTMLElement, targetElement: HTMLElement, position: string, appendToBody?: boolean, options?: Options): Data;
  11. }
  12. export declare function positionElements(hostElement: HTMLElement, targetElement: HTMLElement, placement: string, appendToBody?: boolean, options?: Options, renderer?: Renderer2): void;