ngx-extended-pdf-viewer
Version:
Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.
18 lines (17 loc) • 647 B
TypeScript
export declare class PositioningService {
private static readonly DOORHANGER_OFFSET;
private static readonly TOOLBAR_MARGIN;
private static readonly POPUP_PAIRS;
positionPopupBelowItsButton(buttonId: string, popupId: string): void;
/**
* Re-positions all currently open/visible popups. Call this when the
* toolbar layout changes (e.g., mobileFriendlyZoom changes at runtime).
*/
repositionOpenPopups(): void;
private findVisibleButton;
private getPopupElement;
private applyPopupPositioning;
private setBasicPopupStyles;
private setHorizontalPosition;
private setVerticalPosition;
}