@progress/kendo-angular-popup
Version:
Kendo UI Angular Popup component - an easily customized popup from the most trusted provider of professional Angular components.
40 lines (39 loc) • 2.1 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { ElementRef } from '@angular/core';
import { AlignSettings, BoundingRect, ElementRect, OffsetPosition, PositionSettings, ScrollInfo, ViewPort } from '@progress/kendo-popup-common';
import { Position } from '../models/position.interface';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class DOMService {
private _dummy;
addOffset(current: OffsetPosition, addition: OffsetPosition): OffsetPosition;
addScroll(rect: ElementRect, scroll: ScrollInfo): ElementRect;
align(settings: AlignSettings): OffsetPosition;
boundingOffset(el: HTMLElement): BoundingRect;
getFontStyles(el: HTMLElement): any;
getWindow(): Window | null;
hasOffsetParent(el: ElementRef): boolean;
offset(el: HTMLElement): ElementRect | null;
offsetAtPoint(el: ElementRef, currentLocation: OffsetPosition): ElementRect | null;
nativeElement(el: any): HTMLElement | null;
position(element: HTMLElement, popup: ElementRef, scale?: number): ElementRect | null;
removeScroll(rect: ElementRect, scroll: ScrollInfo): ElementRect;
restrictToView(settings: PositionSettings): Position;
scrollPosition(el: ElementRef): ScrollInfo;
scrollableParents(el: HTMLElement): Array<HTMLElement>;
stackingElementOffset(el: ElementRef): ElementRect;
stackingElementScroll(el: ElementRef): ScrollInfo;
getRelativeContextElement(el: ElementRef): HTMLElement;
useRelativePosition(el: ElementRef): boolean;
windowViewPort(el: ElementRef): ViewPort;
zIndex(anchor: HTMLElement, container: ElementRef): number;
zoomLevel(): number;
isZoomed(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<DOMService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DOMService>;
}